Skip to main content
DELETE
https://api.stateset.com
/
v1
/
secrets
/
:id
curl --location --request DELETE 'https://api.stateset.com/v1/secret/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
		"id: "1234",
}'
{
  "id": "<string>",
  "object": "<string>",
  "success": 123
}

Body

id
string
The ID of the secret to delete.

Response

id
string
The ID provided in the data tab may be used to identify the secret
object
string
The object type
success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
curl --location --request DELETE 'https://api.stateset.com/v1/secret/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
		"id: "1234",
}'