DELETE - /api/domains/{domain_id}
CURL
curl -X DELETE "https://servr.app/api/domains/{domain_id}" \
-H "Authorization: Bearer ymmi922wQwFW1hpm3NImOotRVWG8yrTQ2IoScQFl" \
-H "Content-Type: application/json; charset=utf-8"
Header Parameters
- Authorization should respect the following schema:
{
"type": "string",
"enum": [
"Bearer ymmi922wQwFW1hpm3NImOotRVWG8yrTQ2IoScQFl"
],
"default": "Bearer ymmi922wQwFW1hpm3NImOotRVWG8yrTQ2IoScQFl"
}
- Content-Type should respect the following schema:
{
"type": "string",
"enum": [
"application/json; charset=utf-8"
],
"default": "application/json; charset=utf-8"
}
Response
- body should respect the following schema:
{
"message": "Domain deleted."
}