Replaces group roles for an app
Replaces the groups for a given role on an app. Only the given groups will be present for a role on the app after this call.
PUT
/apps/{app-slug}/roles/{role-name}
curl \
--request PUT 'https://api.bitrise.io/v0.1/apps/{app-slug}/roles/{role-name}' \
--header "Authorization: $API_KEY" \
--data '{"groups":["string"]}'
Request examples
{
"groups": [
"string"
]
}
Response examples (200)
{
"groups": [
"string"
]
}
Response examples (422)
{
"error_msg": "string"
}