Deleting Dataset Permissions
Function
This API is used to delete dataset permissions.
URI
DELETE /v1/{project_id}/datasets/{dataset_id}/permissions/{permission_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For how to obtain a project ID, see Obtaining a Project ID. |
dataset_id |
Yes |
String |
Dataset ID. |
permission_id |
Yes |
String |
Permission ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Workspace-Id |
Yes |
String |
Workspace ID. For how to obtain it, see Obtaining a Workspace ID. |
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Parameter |
Type |
Description |
---|---|---|
data |
Boolean |
Whether the request is successful. true indicates that the request is successful, and false indicates that the request fails. |
Example Request
DELETE https://{endpoint}/v1/{project_id}/datasets/{dataset_id}/permissions/{permission_id}
Example Response
{ "data" : true }
Status Codes
Status Code |
Description |
---|---|
200 |
The permissions are successfully deleted. |
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