orchestrator
2022.10
false
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。

Orchestrator API guide
上次更新日期 2025年2月13日
This endpoint helps you retrieve details about a particular role based on its ID.
Note: This endpoint only returns folders and roles explicitly set for an auto-provisioned user. The ones inherited from the group
configuration can be retrieved through the
/api/DirectoryService/GetDirectoryPermissions?userId={userId}
endpoint.
GET
https://{yourDomain}/odata/Roles(259)
Request headers
Header |
Value |
---|---|
Authorization |
Bearer |
Request body
{
"@odata.context": "https://{yourDomain}/odata/$metadata#Roles/$entity",
"Name": "TestRole",
"DisplayName": "TestRole",
"Groups": null,
"IsStatic": false,
"IsEditable": true,
"Id": 259
}
{
"@odata.context": "https://{yourDomain}/odata/$metadata#Roles/$entity",
"Name": "TestRole",
"DisplayName": "TestRole",
"Groups": null,
"IsStatic": false,
"IsEditable": true,
"Id": 259
}
Response code
200 OK