Delete a Website

Deletes a website.

This API call is not idempotent

URL

/api/v1/website/[website_id]

HTTP Method

Delete

URL Parameters

Parameter

Required

Type

Description

website_id

true

integer

Specifies the website ID to delete.

Response Parameters

Returns a string indicating success/error.

Example: Delete website 1

Request

DELETE

/api/v1/website/1

cURL

curl -kv
-u api_ninja:ninja_password
-X DELETE
https://172.31.1.172:4849/api/v1/website/1

Response

{"result":"success"}