Updated on 2023-06-12 GMT+08:00

Quitting a Project

Function

If a project member proactively quits the project, the project creator cannot quit the project.

URI

DELETE /v4/projects/{project_id}/quit

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the 32-bit ID of the devcloud project.

Minimum: 32

Maximum: 32

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token.

Minimum: 10

Maximum: 32768

Response Parameters

Status code: 400

Table 3 Response body parameters

Parameter

Type

Description

error_msg

String

Description

error_code

String

Error Codes

Status code: 401

Table 4 Response body parameters

Parameter

Type

Description

error_msg

String

Description

error_code

String

Error Codes

Example Requests

Delete https://{endpoint}/v4/projects/e2da96a5d2c845e284f0ad47f8ca8cb1/quit

Delete https://{endpoint}/v4/projects/e2da96a5d2c845e284f0ad47f8ca8cb1/quit

Example Responses

None

Status Codes

Status Code

Description

204

OK

400

Bad Request

401

Unauthorized

Error Codes

See Error Codes.