Enabling or Disabling an Enterprise Project

Function

This API is used to enable or disable an enterprise project.

URI

POST /v1.0/enterprise-projects/{enterprise_project_id}/action

Table 1 Parameter in the URI

Name

Mandatory

Type

Description

enterprise_project_id

Yes

String

Specifies the enterprise project ID. The enterprise project whose ID is 0 cannot be modified.

You can obtain the ID by using API Querying the Enterprise Project List.

Request

Response

Status code: 204

None

Status Codes

For details, see Status Code.

Error Codes

For details, see Error Codes.