Skip to main content

Update Supplier Portal User

PUT 

/api/suppliers/:supplier/portal/users/:supplierPortalUser

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

Required scope: suppliers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body: role (optional: owner, member), status (optional: active, deactivated). Deactivating revokes all of the user's sessions immediately. The supplier must keep at least one active owner (422). A user who never accepted their invitation cannot be set to active — use Resend Supplier Portal Invitation. 404 when the user belongs to another supplier.

Authentication: Requires Bearer token and the suppliers.update permission.

Request​

Responses​

OK

Response Headers
    Content-Type