---
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`

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.net/traversal/apis/fastapi.md) · [All operations](https://skmtc.net/traversal/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/traversal/fastapi/revisions/2134ebffd1ef/schema)
