Organizations

Change member role

Updates a member's role to DEVELOPER or VIEWER. OWNER cannot be assigned here (409); API_KEY is not a human role and is never granted to a member.

patch/api/v1/orgs/{orgId}/members/{userId}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/orgs/{orgId}/members/{userId}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

orgIdstring uuid required
userIdstring uuid required

Request body

role'OWNER' | 'DEVELOPER' | 'VIEWER' | 'API_KEY' required

Response

OK

Changes

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