curl --request DELETE \
--url https://api.tryhamsa.com/v1/projects/secrets/{id} \
--header 'Authorization: <api-key>'{
"success": true,
"message": "success",
"data": {
"isDeleted": true
}
}Permanently deletes a secret from the project.
curl --request DELETE \
--url https://api.tryhamsa.com/v1/projects/secrets/{id} \
--header 'Authorization: <api-key>'{
"success": true,
"message": "success",
"data": {
"isDeleted": true
}
}Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token
The ID of the secret to delete.
"ed9b5601-f731-441a-8500-d9fc7610ef8f"
Was this page helpful?