Go Delete (deprecated)
Go delete workflow.
Important
This API is deprecated and provided only as a reference. Please see contentDelete for the current version.
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/go-delete.json |
Response Formats
|
JSON |
Required Role
|
N/A
|
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
site_id
|
String
|
✓
|
Site to use
|
items
|
String
|
✓
|
Array of paths to delete
|
submissionComment
|
String
|
submission comment
|
Example
Request
POST ../api/1/services/api/1/workflow/go-delete.json?deletedep=true&site_id=mysite
1{
2 "items" : [
3 "/site/website/technology/index.xml"
4 ],
5 "submissionComment": "my submission comment"
6}
Response
Status 200 OK
{
"status" : 200,
"commitId" : null,
"message" : "Item(s) has been pushed for delete. It will be deleted shortly.",
"item" : null,
"success" : true,
"invalidateCache":false
}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|