Reassign a hostname between a zone and a redirect
Moves a hostname between a zone and a redirect. The two directions are mutually exclusive: send "zone" (an IRI) to attach the hostname to that zone, or send both "reassignRedirectTargetHostname" and "reassignRedirectMode" to create a new redirect in the hostname's organization and attach the hostname to it. Either direction deletes the previous redirect owner if there was one. Zone-to-zone moves are out of scope here and stay on PATCH /zones/{zoneId}/hostnames/{id}. CDN state is re-synced and the change takes effect on the live configuration.
Authorizations
Long-lived API token created via POST /api/api-tokens (returned once in plaintext).
JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer
Parameters
Path Parameters
Organization identifier
hostname identifier
Request Body
Responses
hostname resource updated
