Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 2.35 KB

oc_ci_configuration_request_id_approved.rst

File metadata and controls

60 lines (47 loc) · 2.35 KB

OC/CI/configuration/request/{{id}}/{{approved}}

PUT

Triggers an asynchronous task to update the configuration for the :abbr:`uCDN (Upstream Content Delivery Network)` 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

Request Path Parameters
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." }