Delete a Secret

Permanently deletes a secret from the project.

delete/v1/projects/secrets/{id}

Request

  • Base URL
    https://api.tryhamsa.com
  • URL
    https://api.tryhamsa.com/v1/projects/secrets/{id}
  • Auth
    API key in header Authorization

Path parameters

idstring required
Example:ed9b5601-f731-441a-8500-d9fc7610ef8f

The ID of the secret to delete.

Response

Secret deleted successfully

successboolean
messagestring

Example response

{
  "success": true,
  "message": "success",
  "data": {
    "isDeleted": true
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.