Delete Site By Id
Deleting a site will asynchronously perform actions to remove references to this SSP instance on the site and, when finished successfully, delete the site from the platform.
If the connection between the site and the platform is not healthy, then the force parameter can be used. When force is true, the platform will attempt best-effort to remove references to this SSP instance from the site, but will ignore errors from the site. The result will be the removal of the site from the platform, but possibly references to the platform remaining on the site. This scenario can lead to errors when attempting to onboard the site to a new SSP. In this scenario, the force parameter will have to be used when onboarding the site.
During offboarding, the site enterprise admin username and password are required to allow SSP to delete certain artifacts that are specific to this platform.
Notes:
- The credentials provided are one-time use and never stored or re-used.
- The status of offboarding can be checked by calling GET /sites/{site-id}. Once offboarding is completed, the site will automatically be deleted, at which point calling GET /sites/{site-id} will return a 404. This signifies a successful offboard and deletion.
The site ID of the site being deleted.
Force can be used to offboard, ignoring any errors that may occur in communication with the site. If the site is to be onboarded to a different SSP, the use of the force parameter may be required during re-onboarding.
Credentials for the site to be able to connect to and cleanup the site. If the force parameter is false, credentials are required.
Show optional properties
{
"username": "string",
"password": "string"
}
{
"username": "admin",
"password": "password123"
}
Username for Site.
Password for Site.
ACCEPTED
{
"id": "2dc09816-34c0-43fb-99a6-b19b249a43da",
"status_url": "https://vxlan-vm-111-131.nimbus-tb.nimbus.internal/ssp/sites/2dc09816-34c0-43fb-99a6-b19b249a43da"
}
UUID identifier of the response.
The URL to check the status of the operation.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
unexpected error
{
"error_code": 200001,
"error_message": "An internal server error occurred.",
"module_name": "site"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
This operation contains the following vendor extensions defined in the spec:
["public-site-apis"]
curl -X DELETE -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"username":"string","password":"string"}' https://{api_host}/ssp/sites/{site-id}