Updates the app's notification settings

PATCH /apps/{app-slug}/update-email-notifications

Updates the app's email notification settings with parameters

Path parameters

  • app-slug string Required

    App slug

Body Required

App notification settings parameters

  • on_failure string

    When should Bitrise send notifications for the users on build failure? Possible values: always, never, change

  • on_success string

    When should Bitrise send notifications for the users on build success? Possible values: always, never, change

Responses

  • 200

    OK

    Hide response attribute Show response attribute object
    • msg string
  • 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
PATCH /apps/{app-slug}/update-email-notifications
curl \
 --request PATCH 'https://api.bitrise.io/v0.1/apps/{app-slug}/update-email-notifications' \
 --header "Authorization: $API_KEY" \
 --data '{"on_failure":"string","on_success":"string"}'
Request examples
{
  "on_failure": "string",
  "on_success": "string"
}
Response examples (200)
{
  "msg": "string"
}
Response examples (400)
{
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (500)
{
  "message": "string"
}