Views

Delete a view

Deletes a specific view by its ID.

DELETE
/v1/views/
id
curl --request DELETE \
  --url https://api.lunary.ai/v1/views/{id} \
  --header 'Authorization: Bearer <api_key>' \
  --header 'Content-Type: application/json' \
  --data '{}'

Example response:

{
  "message": "View successfully deleted"
}

Parameters

NameLocated InRequiredSchema
idpathYesstring

Responses

200

Successful deletion

Questions? We're here to help.

Email