curl --request DELETE \
--url https://{controlPlaneURL}/api/svc/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'123Deletes a secret and its versions along with its values.
curl --request DELETE \
--url https://{controlPlaneURL}/api/svc/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'123Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Secret Id of the secret.
Whether to force delete the secret.
Deletes a secret and its versions along with its values and returns the count of the deleted secrets.
The response is of type number.
Was this page helpful?