---
title: "Revoke Platform Role"
method: POST
path: "/admin/users/{user_uuid}/platform-roles:revoke"
---

# Revoke Platform Role

`POST /admin/users/{user_uuid}/platform-roles:revoke`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/admin/users/{user_uuid}/platform-roles:revoke`
- Auth: none declared

Revoke a platform role from a user (AIP-136 custom method).

## Path parameters

- `user_uuid` string, required

## Request body

- RevokePlatformRoleRequest: Request to revoke a platform role from a user. Attributes: role: Platform role to revoke (e.g., 'platform_admin')
  - `role` string, required: Platform role to revoke (platform_admin)

## Response `200`

Successful Response

- UserWithRoles: User data with their roles. Attributes: sub: Auth0 sub claim email: User email address organization_id: Organization UUID the user belongs to organization_roles: List of organization role strings (e.g., ['org_admin', 'org_member', 'org_setup_user']) platform_roles: List of platform role strings (e.g., ['platform_admin'])
  - `id` string, nullable
  - `sub` string, nullable
  - `email` string, required
  - `organization_id` string, nullable, required
  - `organization_roles` string[], required
  - `platform_roles` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/traversal/apis/traversal-api.md) - [All operations](https://skmtc.dev/traversal/apis/traversal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/traversal/apis/traversal-api/revisions/31e1a8b7cf89?raw)
