Reject
Reject workflow.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /studio
, please prefix the API URLs with this context.
HTTP Verb
|
POST
|
URL
|
/api/1/services/api/1/workflow/reject.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
Example
Request
POST .../api/1/services/api/1/workflow/reject.json?site_id=mysite
1{
2 "reason":"Not approved",
3 "scheduledDate":"now",
4 "items":[
5 "/site/website/index.xml"
6 ]
7}
Response
Status 200 OK
{
"status":200,
"message":"Rejection has been sent. Item(s) have NOT been pushed live and have returned to draft state.",
"success":true,
}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|