Projects

Update contributor role

Updates the role of a contributor in the project

post/v2/project/{projectId}/{contributorId}/update/role

Request

  • Base URL: https://api.zephyr-cloud.io
  • URL: https://api.zephyr-cloud.io/v2/project/{projectId}/{contributorId}/update/role
  • Auth: HTTP bearer

Path parameters

projectIdstring uuid required

Project UUID

Example:550e8400-e29b-41d4-a716-446655440000
contributorIdstring uuid required

Contributor relation UUID

Example:550e8400-e29b-41d4-a716-446655440000

Request body

type'member' | 'team' required

Contributor type

role'viewer' | 'editor' | 'admin' | 'owner' required

New role for the contributor

Example request

{
  "type": "member",
  "role": "editor"
}

Response

Updated contributor

Example response

{
  "value": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "role": "editor"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.