Delete alias
Delete a alias from a site
DELETE api/servers/{server}/sites/{site}/aliases/{alias}
Example request:
curl -X DELETE "https://ploi.io/api/servers/{server}/sites/{site}/aliases/fourth-alias.com" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"aliases": [
"first-alias.com",
"second-alias.com",
"third-alias.com"
],
"count": 3,
"main": "alias.com"
}
}