Delete Sitemaps
Deletes the specified sitemaps.
Request
URI: /v2/sitemap/{pub}/{lang}
HTTP Method: DELETE
Header params:
- Accept:
[application/json] OR [application/xml] - Content-Type:
[application/json] OR [application/xml]
PATH Parameter(s):
- pub: The name of the publication sitemap to delete. If this parameter is not provided, deletes all publication sitemaps.
- lang: The language variant sitemap to delete. If this parameter is not provided, deletes the specified publication sitemap, including all its language variant sitemaps.
Response
Success
- XML:
<result message="Action = delete_SiteMap" messageKey="Action = delete_SiteMap" status="SUCCESS" statusCode="0" /> - JSON:
{"statusCode":0,"messageKey":"Action = delete_SiteMap","message":"Action = delete_SiteMap","status":"SUCCESS","info":[]}
Failed
- XML:
<result message="Not Found" messageKey="Not Found" status="FAIL" statusCode="404" /> - JSON:
{"statusCode":404,"messageKey":"Not Found","message":"Not Found","status":"FAIL","info":[]}
Permissions
"Manage application"
Example
Request:
DELETE http://example.corp:8080/LiveContent/v2/sitemap/pub/lang
Response:
<result message="Action = delete_SiteMap" messageKey="Action = delete_SiteMap" status="SUCCESS" statusCode="0" />