Get User Accessible Resources
GET {{baseUrl}}/api/v1/access-controls?permission=volume.create&permission=port.read&permission=audit.read
Retun a list of user permissions. The returned list of permissions will be based upon the supplied filter. If no filter was supplied, all user permissions will be returned. It is also possible to request all resource type with certain permission type (ex. ALL.read)
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
permission | string | List of permissions, each of which, has the form "resource type.permission" (ex. volume.read,volume.write). The word "ANY" can be used as a wild card for the resource type (ex. ANY.read). Omitting the permission parameters is equivalent to asking for all user permissions. | |
permission | string | List of permissions, each of which, has the form "resource type.permission" (ex. volume.read,volume.write). The word "ANY" can be used as a wild card for the resource type (ex. ANY.read). Omitting the permission parameters is equivalent to asking for all user permissions. | |
permission | string | List of permissions, each of which, has the form "resource type.permission" (ex. volume.read,volume.write). The word "ANY" can be used as a wild card for the resource type (ex. ANY.read). Omitting the permission parameters is equivalent to asking for all user permissions. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"items":["volume.create","port.read"]}