Enabling the Enterprise Project Management
Function
This API is used to enable the enterprise project management on your own platform.
Constraints
Your AK/SK or token is required for invoking this API.
Debugging
You can debug this API in API Explorer. Automatic authentication is supported. API Explorer can automatically generate and debug SDK code examples.
URI
POST /v2/enterprises/enterprise-projects/authority
Request
Request parameters
None.
Example request
POST https://bss-intl.myhuaweicloud.com/v2/enterprises/enterprise-projects/authority HTTP/1.1 Content-Type: application/json X-Auth-Token: MIIPAgYJKoZIhvcNAQcCo...ggg1BBIINPXsidG9rZ
Response
Response parameters
Status code: 204
Success is returned by default.
Status code: 400
Parameter |
Type |
Value Limit |
Description |
---|---|---|---|
error_code |
String |
20 |
Status code. For details, see Status Code. This parameter is returned when the query fails. |
error_msg |
String |
1,000 |
Error description. This parameter is returned when the query fails. |
fail_check_items |
List<String> |
- |
Check item not satisfied. For details, see Table 1. This parameter matches the error code: CBC.99007004. |
Check Item |
Description |
---|---|
NOT_OPEN_PROJECT_GROUP |
Enabling enterprise project management not supported. You have enabled project group management. |
NOT_OPEN_MULTI_PROJECT |
Enabling enterprise project management not supported. You have enabled the Multi-Project function. |
SELF_OPEN_ONLY_FOR_ENT_AND_INTR_CUST |
Only customers who have completed real-name authentication or customers whose accounts are verified to be of enterprise type can enable project management. |
Example response
HTTP/1.1 204 No Content Content-Type: application/json;charset=UTF-8 Content-Length: length Date: response time
Status Code
- 4xx: indicates an error resulting from a client, such as the request contains bad syntax or an invalid parameter. You need to check the statement and format and make a request again.
- 5xx: indicates an error to the Huawei Cloud system, which prevented the system from fulfilling the request from client. You can contact Huawei Cloud customer service to handle the issue.
Status Code |
Error Code |
Description |
---|---|---|
400 |
CBC.0100 |
Invalid parameter. |
400 |
CBC.99007004 |
Check item not satisfied. |
403 |
CBC.0151 |
Access denied. |
500 |
CBC.0999 |
Other errors. |
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