OC/CI/configuration/request/{{id}}/{{approved}}
PUT
Triggers an asynchronous task to update the configuration for the uCDN and the specified host by adding the request to a queue to be reviewed later. This returns a 202 Accepted status and an endpoint to be used for status updates.
- Auth. Required:
Yes
- Roles Required:
“admin”
- Permissions Required:
CDNI-ADMIN:READ, CDNI-ADMIN:UPDATE
- Response Type:
Object
Request Structure
Name |
Description |
---|---|
id |
The integral identifier for the configuration update request to be approved or denied. |
approved |
A boolean for whether to approve a configuration change request or not. |
Response Structure
HTTP/1.1 200 OK
Content-Type: application/json
{ "response": "Successfully updated configuration." }
HTTP/1.1 200 OK
Content-Type: application/json
{ "response": "Successfully denied configuration update request." }