Updated on 2025-02-25 GMT+08:00

Deleting Dataset Permissions

Function

This API is used to delete dataset permissions.

URI

DELETE /v1/{project_id}/datasets/{dataset_id}/permissions/{permission_id}

Table 1 URI parameter

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

Table 2 Request header 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

Table 3 Response body 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

Table 4 Status code

Status Code

Description

200

The permissions are successfully deleted.

Error Codes

See Error Codes.