Syndai Docs

Delete a secret

DELETE
/api/v1/external/coding/secrets/{key_name}

Delete the secret stored at exactly this scope: the environment slug (omit for workspace-wide) and optional repository_id. Returns 404 if nothing is stored there. Requires the coding:secrets:write scope.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

key_name*string
Match^[A-Z][A-Z0-9_]{0,127}$

Query Parameters

environment?string|null
repository_id?|null
customer_id?|null

Response Body

Request fulfilled, nothing follows

Example Request
curl -X DELETE 'https://api.syndai.ai/api/v1/external/coding/secrets/string'
Example Response
Empty