Stashbase
Secrets

Delete single

Delete single secret.

DELETE
/v1/projects/{project_identifier}/environments/{environment_identifier}/secrets/{name}

Delete single secret.

Path Parameters

project_identifier*string

The name or ID of the project.

environment_identifier*string

The name or ID of the environment.

name*string

The name of the secret, min 2 and max 255 characters. Must be properly formatted.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/projects/string/environments/string/secrets/string"
Empty
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {
      "property1": null,
      "property2": null
    }
  }
}