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
For detailed about the parameters, see Table 1.
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
- Parameter description
Table 2 Parameter in the request Name
Mandatory
Type
Description
action
Yes
String
enable: Enable an enterprise project.
disable: Disable an enterprise project.
- Example requestPOST https://{EPS endpoint}/v1.0/enterprise-projects/{enterprise_project_id}/action{"action":"enable"}
Response
None
Status Codes
For details, see Status Code.
Error Codes
For details, see Error Codes.
Parent topic: Enterprise Project Management
- Function
- URI
- Request
- Response
- Status Codes
- Error Codes