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
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 request
POST 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot