List Permissions¶
List the permissions for an application.
Operation Permissions¶
Applications assigned with the Application Registration Administrator policy in the OU.
Request Format¶
GET https://{apigw-address}/enos-app-service/v2.5/permissions
Request Parameters(URI)¶
Name |
Location(Path/Query) |
Required/Optional |
Data Type |
Description |
---|---|---|---|---|
orgId |
Query |
Required |
String |
The OU ID which the application belongs to. How to get orgId >> |
appId |
Query |
Required |
String |
The application ID which the permission belongs to. |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
id |
String |
The unique permission identifier generated by the system. |
appId |
String |
The application ID. |
name |
StringI18n |
The permission name. |
description |
StringI18n |
The permission description. |
keyword |
String |
The custom identifier for the permission. |
status |
String |
The permission authorization status, empty by default. |
Samples¶
Request Sample¶
url: https://{apigw-address}/enos-app-service/v2.5/permissions?orgId=yourOrgId&appId=yourAppId
method: GET
Return Sample¶
{
"code": 0,
"msg": "OK",
"subMsg": null,
"data": [
{
"id": "systemPermissionId",
"appId": "yourApplicationId",
"name": {
"default": "permission1",
"en-US":"permission1"
},
"description": {},
"keyword": "permission1",
"status": null
}
]
}