Querying Permissions of a Project
Function
This API is used to query permissions of a project.
Calling Method
For details, see Calling APIs.
URI
GET /v5/{project_id}/api/check-project/{type}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Definition: Project ID. For details, see Obtaining a Project ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
type |
Yes |
String |
Definition: Permission type. Constraints: N/A Value range:
Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
[items] |
Array of PermissionResult objects |
Definition: Permission details. Value range: N/A |
Parameter |
Type |
Description |
---|---|---|
key |
String |
Definition: Permission type. Value range:
|
value |
Boolean |
Definition: Whether the account has the permission. Value range:
|
Example Requests
None
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot