Action - Set CNAME
Set CNAME on one or more ADC objects for which the action applies to.
Supported on the following object types:
- Akamai - Property
URL: /adc-device-object-action-cname
Type: PUT
Parameter
| Param Type | Name | Description | Field Type |
|---|---|---|---|
| Header | sessionId ** | Session Id received after login | String |
| Query | Gwkey | Tenant Key. Needed only in case of multitenant installations | String |
| Query | gwsource** | Source from which the request is triggered (for example, web, external) | String |
| Payload | objectIds** | Resource id of the objects. Note: Use the search API to search/get the resource id | String[] |
| Payload | cname | CNAME to set | String |
** - Mandatory value
Possible Response Message and Code
| HTTP Code | Description | Response Message |
|---|---|---|
| 202 | Accepted | Action triggered for the following <#> objects … |
| 400 | Bad request | No objects found to perform an action |
| 403 | Forbidden | No given object(s) have Read or Write permission |