Exception Domain APIs
Activate Exception Domain
OVERVIEW
Overview
Activate an exception domain within Publisher.
Since v5.0
HTTP Request
POST /api/2/exceptiondomains/<ID>/activate
OR
POST /api/2/exceptiondomains/<DOMAIN>/activate
URL Parameters
Parameter | Description |
---|---|
ID | The ID of the exception domain to activate |
DOMAIN | The exception domain to activate |
HTTP Request Object
No data is passed in the HTTP Request
HTTP Headers
HTTP Request Header | Description | Example |
---|---|---|
Authorization | The API Authorisation token | "Bearer XXXXXXXXXXXXX" |
Accept |
The format of the expected response.
If no parameter is set, JSON is the default response given. |
"application/xml" |
HTTP Response
Success
HTTP response 200 with Exception Domain Object
(Example below)
Error
Example HTTP Request & Response
POST http://example.com/context/api/2/exceptiondomain/3/activate
OR
POST http://example.com/context/api/2/exceptiondomain/unknown.com/activate
JSON Response
{
"domain": {
"id": 3,
"url": "unknown.com",
"status": "Active"
}
}
Last Updated: Nov 08,2024
Comments
0 Comments