Tenants

Change member role (admin)

Promotes or demotes a tenant member between admin and member. Tenant-admin only. The last remaining admin cannot be demoted (400) — promote another member first.

patch/api/v1/tenants/me/members/{user_id}

Request

  • Base URL: https://api.hub-equity.com
  • URL: https://api.hub-equity.com/api/v1/tenants/me/members/{user_id}
  • Auth: HTTP bearer

Path parameters

user_idstring uuid required

Request body

role'admin' | 'member' required

Response

Role updated

successboolean required

Changes

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