Set a member's enterprise role, or reactivate or deactivate them.
Changes one thing per request. role sets their enterprise role, for owners only: only the role changes, and an owner or admin gains no organization or app access from it. A guest or removed member is a 404 (enterprise_member_not_found), and leaving the enterprise without an owner a 409 (enterprise_last_owner).
active, as SCIM's attribute of that name, is for owners and admins. false deactivates them, as DELETE does, with the same refusals. true reactivates someone the enterprise deactivated: they can sign in again with the enterprise role they held, and, for a member, default organizations add them again at their next sign-in. No organization, grant, invitation, session or API key comes back. Reactivating an admin or billing manager is for owners. Someone no longer on one of the enterprise's domains is a 409 (enterprise_member_not_claimed). Someone already active is answered as they are.
Request
- Base URLhttps://api.shorebird.dev/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Response
The member's role and whether they are active, as set.
Changes
No recorded changes to this operation across all 1 revision of this API.