Get a list of available roles.
http://apis.wso2.com/api/appm/store/v1.1/administration/roles
GET
appm:administration
curl -X GET -H "Authorization: Bearer 303c73b076f1aeeb16ebee6b96bd250e" "http://localhost:9763/api/appm/store/v1.1/administration/roles"
{"roleIds": ["admin","Application/app_11_04_001", "Application/app_11_04_002","Application/app_11_04_011"]}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query |
limit optional |
Maximum size of resource array to return. |
Integer |
25 |
Query |
offset optional |
Starting point within the complete list of items qualified. |
Integer |
0 |
Header |
Accept optional |
Media types acceptable for the response. Default is JSON. |
String |
JSON |
Header |
If-None-Match optional |
Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. |
String |
HTTP Code | Description | Schema |
---|---|---|
200 |
OK. List of qualifying roles is returned. |
RoleIdList |
400 |
Bad Request. Invalid request or validation error. |
Error |
403 |
Forbidden. The request must be conditional but no condition has been specified. |
Error |
404 |
Not Found. The resource to be updated does not exist. |
Error |