Site resource

Archive Site

OVERVIEW

This API method is used to archive a site. The site is marked as archived and the system admin can revert the action if required. The system throws an “Access Denied” message if the site does not exist.

If a delete file request is sent through the API for a site that has already been archived, the API will return a 200 OK response to that request. 

“My site” cannot be archived using this API method.

Request

DELETE        /sites/{siteid}

Parameters
 

Parameter Name

Value

Description

siteid

Int

The ID for the site in question

Response

The system sends a 200 OK response in case of success and throws an error object in case of an error.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<error>

<ref>130</ref>

<summary>Access denied</summary>

</error>

JSON

{

"summary": "Access denied",

"ref": "130",

"link": null

}

 

 

 

Comments


3 Comments

Last Updated: Jun 09,2023