Delete a secret by name

DELETE /organizations/{org-slug}/secrets/{secret-name}

Delete a secret by name

Path parameters

  • org-slug string Required

    organization slug

  • secret-name string Required

    secret name

Responses

  • 204

    No Content

  • 401

    Unauthorized

    Hide response attribute Show response attribute object
    • error_msg string
  • 403

    Forbidden

    Hide response attribute Show response attribute object
    • error_msg string
  • 404

    Not found

    Hide response attribute Show response attribute object
    • error_msg string
DELETE /organizations/{org-slug}/secrets/{secret-name}
curl \
 --request DELETE 'https://api.bitrise.io/v0.1/organizations/{org-slug}/secrets/{secret-name}' \
 --header "Authorization: $API_KEY"
Response examples (401)
{
  "error_msg": "string"
}
Response examples (403)
{
  "error_msg": "string"
}
Response examples (404)
{
  "error_msg": "string"
}