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>'123Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Secret Id of 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?