---
title: "Get Custom Roles switch status"
method: GET
path: "/org/{org_id}/switch_to_custom_roles"
tags: ["Custom Roles"]
---

# Get Custom Roles switch status

`GET /org/{org_id}/switch_to_custom_roles`

Get the current status of the organization's switch to Custom Roles.
This endpoint returns information about whether the organization has switched to Custom Roles and whether they are allowed to switch.

## Path parameters

- `org_id` integer, required

## Response `200`

Successfully retrieved switch status

- object
  - `org_id` integer, required — Unique identifier of an organization in Partoo.
  - `has_switched` boolean, required — Whether the organization has switched to Custom Roles
  - `can_switch` boolean, required — Whether the organization is allowed to switch to Custom Roles

## Other responses

- `401` — You are not authenticated
- `403` — You are not allowed to perform this action
- `404` — Resource does not exist

---

[API](https://skmtc.dev/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.dev/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/revisions/3652d8b1a8b3/schema)
