curl --location --request DELETE 'https://api.stateset.com/v1/secrets/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "string",
"object": "string",
"success": 1
}
Delete Secret
This endpoint deletes an existing secret.
DELETE
/
v1
/
secrets
/
{id}
curl --location --request DELETE 'https://api.stateset.com/v1/secrets/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "string",
"object": "string",
"success": 1
}
Verify deployment access. This reference describes an API contract, not a provisioned
public service. Check the dated host report and obtain the correct
host, API version, and workspace credentials. For a current integration, start with the
API directory.
Path parameters
Response
Errors
Succeeds with204. Failures return 400, 401, 403, 404 or 429 with an error body, per the platform status-code contract.
curl --location --request DELETE 'https://api.stateset.com/v1/secrets/{id}' \
--header 'Authorization: Bearer YOUR_API_KEY'
{
"id": "string",
"object": "string",
"success": 1
}
Last modified on September 21, 2026