Websites

Delete a website

DELETE/api/websites/{websiteId}

Deletes the specified website after checking the caller's permission to remove it.

Headers

NameTypeDescription
AuthorizationrequiredstringAuthentication credentials, e.g. Bearer <token>.

Path parameters

NameTypeDescription
websiteIdrequiredstringWebsite ID.

Responses

200Website deleted.
NameTypeDescription
okrequiredbooleanWhether the operation succeeded.
200 example
401Unauthorized.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
401 example

Code samples

cURL