---
title: "Update tenant role"
method: POST
path: "/inlong/manager/api/role/tenant/update"
tags: ["Tenant-API"]
---

# Update tenant role

`POST /inlong/manager/api/role/tenant/update`

## Request body

- TenantUserRoleRequest
  - `disabled` integer — If disabled
  - `id` integer — Primary key
  - `roleCode` string — Role code
  - `tenant` string — Tenant
  - `username` string — User name
  - `version` integer — Version number

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/apache/apis/untitled-api-2.md) · [All operations](https://skmtc.dev/apache/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/untitled-api-2/revisions/41c687f48683/schema)
