Check permission on a project for a cloud account
Select
SaaS
Customer Managed
Get permission status for a cloudAccount on a GCP project
Query Parameters
- cloudAccountId int64
the id of the node where the browse request is sent
- projectName string
google cloud project the instance belongs to
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
- When account has permission
- When account doesn't have permission
Schema
- status boolean
{
"status": true
}
{
"status": true
}
{
"status": false
}
GET /v4/gcpspanner/permissions
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/permissions' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'