Aliases

You can update one or more aliases per request. You can also send just attributes you want to change

post/api/v1/edit/alias

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Request body

itemsobject

contains list of aliases you want update

Example request

{
  "attr": {
    "active": "1",
    "address": "alias@domain.tld",
    "goto": "destination@domain.tld",
    "private_comment": "private comment",
    "public_comment": "public comment"
  },
  "items": [
    "6"
  ]
}

Response

OK

type'success' | 'danger' | 'error'

Changes