Change a member role or monthly cap

Only the authenticated account owner can use this route. Members use their own credentials and cannot manage another account. Omitted or null fields leave the stored values unchanged. An empty object returns the current membership.

patch/v1/users/{userID}/members/{memberID}

Request

  • Base URL: https://api.plori.ai
  • URL: https://api.plori.ai/v1/users/{userID}/members/{memberID}
  • Auth: HTTP bearer

Path parameters

userIDstring uuid required
memberIDstring uuid required

Account membership id, not the person user id.

Request body

role'member' | 'viewer' | 'null' nullable
monthly_spend_limit_micro_usdinteger nullable

Micro-US-dollars. Zero clears the cap.

Response

Updated membership.

idstring uuid required
emailstring required
role'member' | 'viewer' required
state'invited' | 'active' required
invited_atstring date-time required
invite_expires_atstring date-time
accepted_atstring date-time
member_user_idstring uuid
monthly_spend_limit_micro_usdinteger required

Monthly cap in micro-US-dollars. Zero means no member cap.

Changes

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