Skip to main content

Delete a secret

DELETE 
/ai/secrets/:secret_id

Delete a secret by secret_id.

Request

Path Parameters

    secret_id Secret Idrequired

Responses

204: The resource was deleted successfully.

404: Secret Not found

Request samples


curl -L -X DELETE 'https://api.telnyx.com/v2/ai/secrets/:secret_id' \
-H 'Authorization: Bearer <TOKEN>'