---
search:
  tags:
    - Roles & access
    - DELETE
seo:
  description: >-
    Removes one role assignment. Use the id from GET /users/{id}/roles as…
    Reference for the DELETE /users/{id}/roles/{assignmentId} endpoint in the
    Fuxam API v4.
sidebar:
  label: Revoke a role assignment
  badge: DELETE
title: Revoke a role assignment
type: openapi-operation
---
Removes one role assignment. Use the `id` from GET /users/&#123;id&#125;/roles as `assignmentId` — not the role template ID (`roleId`). Scoped to your integration's institution via Basic Auth credentials.

`DELETE /users/{id}/roles/{assignmentId}`

**Responses**

- `204` — Role assignment revoked
- `401` — Unauthorized
- `404` — Not Found
- `429` — Too Many Requests — 1000 requests per minute per institution. Includes \`X-RateLimit-Limit\`, \`X-RateLimit-Remaining\`, \`X-RateLimit-Reset\` (ISO-8601), and \`Retry-After\` (seconds).
- `500` — Internal Server Error
