Update a secret
curl --request PUT \
--url https://api.kazzle.app/api/spaces/{spaceId}/secrets/{secretId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payload": {},
"metadata": {},
"expiresAt": 123
}
'{
"success": true
}Better Auth JWT token
Successful response
curl --request PUT \
--url https://api.kazzle.app/api/spaces/{spaceId}/secrets/{secretId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"payload": {},
"metadata": {},
"expiresAt": 123
}
'{
"success": true
}