Skip to main content

Update Portal User

PUT 

/api/supplier-portal/users/:user

Change a user's role or deactivate / reactivate them. Owner only.

Buyer portal token

Called by a B2B portal buyer with the bearer token POST /api/portal/auth/login returns (or the buyer's feed key) — not with a staff Personal Access Token.

Body: role (optional: owner, member), status (optional: active, deactivated). Deactivating signs the user out everywhere at once. You cannot demote or deactivate yourself, and the supplier must always keep at least one active owner (422). A user who never accepted their invitation cannot be set to active — re-send the invitation instead.

Request​

Responses​

OK

Response Headers
    Content-Type