Replaces group roles for an app

PUT /apps/{app-slug}/roles/{role-name}

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.

Path parameters

  • app-slug string Required

    Slug of the app

  • role-name string Required

    Name of the role being modified, supported values are: admin, manager (equals developer), and member (equals tester/qa)

    Values are admin, manager, or member.

Body Required

List of group slugs

Responses

  • List of group slugs

    Hide response attribute Show response attribute object
  • Unprocessable Entity

    Hide response attribute Show response attribute object
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"
}