Help Center/ DataArts Insight/ API Reference/ Pass Management/ Deleting User Allocation Information
Updated on 2025-02-25 GMT+08:00

Deleting User Allocation Information

Function

This API is used to delete user allocation information.

URI

DELETE /v1/{project_id}/quota-users/{user_id}

Table 1 URI parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For how to obtain the project ID, see Obtaining a Project ID.

user_id

Yes

String

User ID.

Request Parameters

Table 2 Request header parameter

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. Obtain a user token by calling IAM's "Obtaining a User Token" API. X-Subject-Token in the response header is the desired user token.

Response Parameters

Status code: 200

Table 3 Response body parameter

Parameter

Type

Description

data

Boolean

Whether the request is successful. The options include true and false.

Example Request

DELETE https://{endpoint}/v1/{project_id}/quota-users/{user_id}

Example Response

None

Status Codes

Status Code

Description

200

The user is successfully deleted.

Error Codes

See Error Codes.