Updating Endpoint Permissions
Function
This API is used to update endpoint permissions.
Calling Method
For details, see Calling APIs.
URI
POST /v1/endpoint/{endpointUuid}/permission
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
endpointUuid |
Yes |
String |
Definition: Endpoint UUID. Constraints: N/A Value range: N/A Default value: N/A |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
role_id |
No |
String |
Definition: Role ID. Constraints: N/A Value range: N/A Default value: N/A |
|
permission_type |
No |
String |
Definition: Permission type. Constraints: N/A Value range: N/A Default value: N/A |
|
value |
No |
Boolean |
Definition: Whether the permission is granted. Constraints: N/A Value range:
Default value: N/A |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
error |
ErrorInfo object |
Definition: Error message. Value range: N/A |
|
result |
Object |
Definition: Error result. Value range: N/A |
|
status |
String |
Definition: Status value. Value range: N/A |
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