Retrieves a list of permissions
GEThttps://api.spectrocloud.com/v1/permissions
Retrieves a list of permissions
Request
Query Parameters
scope string
Possible values: [system
, tenant
, project
, resource
]
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
An array of permissions
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
namestring
permissionsstring[]
scopestring
Possible values: [system
, tenant
, project
, resource
]
[
{
"name": "string",
"permissions": [
"string"
],
"scope": "system"
}
]
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/permissions' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'