Administration

Remove a role from a user *within the active organisation*.

Remove a role from a user within the active organisation.

Multi-org : updates `membership_roles` for the current tenant, not
the legacy global `user_roles` table.

Permissions requises : admin:all

delete/api/v1/admin/users/{user_id}/roles/{role_id}

Request

  • Base URL: https://erp.eyeot.fr/api/v1
  • URL: https://erp.eyeot.fr/api/v1/api/v1/admin/users/{user_id}/roles/{role_id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Response

Succès — payload {data, meta} (cf. API-GUIDE §3.1)

Changes

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