Workspace members

Change a workspace member role

Requires owner or admin membership, members:manage, and recent MFA or passkey step-up. The owner's role cannot be changed here (use the transfer-ownership operation) and a member cannot change their own role.

patch/credits/members/{memberId}

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/members/{memberId}
  • Auth
    HTTP bearer

Path parameters

memberIdstring uuid required

Headers

X-Locus-Step-Upstring password

Short-lived raw MFA/passkey step-up token bound to the authenticated Cognito subject. Send it alongside the dashboard Bearer token for workspace-administrator mutations when the base session does not itself prove MFA within the last ten minutes. Never send it with a tenant secret key.

Request body

role'admin' | 'developer' | 'billing' | 'viewer' required

Response

Role updated

Changes

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