---
title: "Revoke Roles"
method: POST
path: "/v1/roles/revoke"
---

# Revoke Roles

`POST /v1/roles/revoke`

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- object
  - `user_id` string, required — IDs of the user.
  - `roles_ids` string[], required — IDs of roles that should be revoked from the User.

## Response `200`

200

- object
  - `data` object
    - `object` string
    - `id` string
    - `real_id` integer
    - `name` string
    - `email` string
    - `confirmed` boolean
    - `notification_phone_number` unknown
    - `created_at` integer
    - `updated_at` integer
    - `readable_created_at` string
    - `readable_updated_at` string
    - `response_content` boolean
    - `username` string
    - `role` unknown
  - `meta` object
    - `include` string[]
    - `custom` unknown[]
      - unknown

## Other responses

- `500` — 500

---

[API](https://skmtc.net/payarc/apis/payarc-sandbox.md) · [All operations](https://skmtc.net/payarc/apis/payarc-sandbox/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payarc/payarc-sandbox/versions/face82bdd778/schema)
