---
title: "Update tenant role"
method: POST
path: "/inlong/manager/openapi/role/tenant/update"
tags: ["Open-InlongTenantRole-API"]
---

# Update tenant role

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

## Request

- The document declares no server URL.
- Auth: none declared

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

- ResponseBoolean
  - `data` boolean
  - `errMsg` string
  - `success` boolean

## Other responses

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

---

[API](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api.md) - [All operations](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/the-apache-software-foundation-file-api/revisions/41c687f48683?raw)
