Updated on 2024-04-08 GMT+08:00

Deleting a User

Function

This API is used to delete a user.

URI

DELETE /v2/{project_id}/instances/{instance_id}/users/{user_name}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details, see Obtaining a Project ID.

instance_id

Yes

String

Instance ID.

user_name

Yes

String

Username.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

message

String

Information.

Example Requests

Deleting a specified user

DELETE https://{endpoint}/v2/{project_id}/instances/{instance_id}/users/{user_name}

Example Responses

None

Status Codes

Status Code

Description

200

The deletion is successful.

Error Codes

See Error Codes.