Delete an application secret

DELETE /apps/{app-slug}/secrets/{secret-name}

Delete an application secret. Requires administrator level privileges to the app.

Path parameters

  • app-slug string Required

    App slug

  • secret-name string Required

    Secret name

Responses

  • 204

    No Content

  • 400

    Bad Request

    Hide response attribute Show response attribute object
    • message string
  • 401

    Unauthorized

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

    Not Found

    Hide response attribute Show response attribute object
    • message string
  • 500

    Internal Server Error

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