Apps

Update user role

Changed on

Update a user's role in this app's Clerk organization.

patch/v1/apps/{app_id}/users/{user_id}/role

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/apps/{app_id}/users/{user_id}/role
  • Auth: HTTP bearer

Path parameters

app_idstring required

App ID

user_idstring required

Clerk user ID

Request body

rolestring required

New Clerk org role (org:admin or org:member)

Response

Successful Response

user_idstring required
membership_idstring required
emailstring nullable
namestring nullable
avatar_urlstring nullable
rolestring required
joined_atstring nullable

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security BearerAuth was added to the API