Delete a website resource
DELETE/api/v1/Website/:id
Deletes a website resource. The website must have no accounts left; delete its accounts first.
Permission required: Admin role.
Caution: The delete is permanent. It also removes the resource that represents the website and the website's URL rules.
Request
Responses
- 200
- 400
- 404
The website was deleted. The body is a confirmation message.
The ID is empty, the website still has accounts, or the delete failed. The body is a message.
No website has that ID.