Update Invite Role

Change the role on a pending (not yet accepted) invite. Admin only.

Updates the role the invitee will receive when they accept. Only pending invites can be updated — attempting to update an accepted, revoked, or expired invite returns 409. The invitee is not notified of the role change; the updated role takes effect when they accept.

Authentication

AuthorizationBearer
Clerk JWT token

Path parameters

ws_idstringRequiredformat: "uuid"
invite_idstringRequiredformat: "uuid"

Request

This endpoint expects an object.
roleenumRequired

New role to assign: admin, editor, or viewer.

Response

Successful Response
dataobject
metaobject

Errors

422
Unprocessable Entity Error