HostingManagers

Delete manager

DELETE/api/managers/{manager_code}

Deletes a manager.

X-Api-Token<token>

API token used to authenticate requests.

In: header

Path Parameters

manager_code*string

Manager code: MN followed by 8 digits. Example: MN12345678.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/managers/string" \  -H "X-Api-Token: YOUR_API_TOKEN" \  -H "Accept: application/json"
Empty
{
  "message": "Unauthorized",
  "errors": []
}
{
  "message": "Forbidden",
  "errors": []
}
{
  "message": "Not found",
  "errors": []
}
{
  "message": "Validation failed",
  "errors": [
    {
      "field": "name",
      "description": "is not valid"
    }
  ]
}