Modifying the Tenant Configuration
Function
This API is used to modify the tenant configuration. Currently, it allows you to enable OBS and SCM authorization.
Calling Method
For details, see Calling APIs.
URI
PUT /v1.0/cdn/configuration/account-configs
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Definition User token, which can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Constraints N/A Range N/A Default Value N/A |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
obs_agency_status |
No |
String |
Definition OBS authorization status. Enable it when an OBS private bucket is used as the origin server. Constraints N/A Range The value can only be on, indicating that OBS authorization is enabled. Default Value N/A |
scm_agency_status |
No |
String |
Definition SCM authorization status. Enable it when an SCM certificate is used to configure HTTPS. Constraints N/A Range The value can only be on, indicating that SCM authorization is enabled. Default Value N/A |
Response Parameters
Status code: 204
Request succeeded.
None
Example Requests
PUT https://cdn.myhuaweicloud.com/v1.0/cdn/configuration/account-configs { "obs_agency_status" : "on", "scm_agency_status" : "on" }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Request succeeded. |
Error Codes
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