Organization & Project/Members & Permissions Management/Roles & Permissions

Batch Create Project-Level Custom Roles

Batch create roles under specified organization; currently only type=project is supported

post/openapi/v2.0/manage/api/v1/organizations/{uuid}/roles

Request

  • Base URL
    https://41b04hdzmc.apifox.cn (the document declares no server; this is the origin it was published from)
  • URL
    https://41b04hdzmc.apifox.cn/openapi/v2.0/manage/api/v1/organizations/{uuid}/roles
  • Auth
    none required

Path parameters

uuidstring required

Organization UUID

Headers

x-user-tokenstring required

User Login Session Token (client invocation credential for on-premises deployment)

X-Request-Idstring uuid

Client-Generated Request Trace ID (UUID v4 recommended), used for cross-service log correlation and troubleshooting

X-Project-Uuidstring required

Project UUID

Request body

type'project'

Role Type. project: Project Role

Response

OK

codeinteger required

Business Status Code: 0=Success; non-zero=Error Code (see message for meaning)

messagestring

Error Description Message (Omitted on Success)

dataunknown

Changes

No recorded changes to this operation across all 1 revision of this API.