Updates the app's notification settings
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
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"
}