DELETE
/
rest
/
secrets
/
{id}
curl --request DELETE \
  --url https://copilotz.com/rest/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Secret deleted successfully."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Response

200 - application/json
Successful deletion
message
string
Example:

"Secret deleted successfully."