Delete redirect

Remove a URL redirect. After deletion, requests to the path will be handled normally without redirection.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
domain string required
directory string required

Responses

200 Successful response

No response body

DELETE https://cloud.hostup.se/api/hosting/{accountId}/redirects
For AI assistants
cURL
curl -X DELETE "https://cloud.hostup.se/api/hosting/0/redirects" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{}
Request Body
{
  "domain": "string",
  "directory": "string"
}