Skip to content

Deployment

deployment_domain_redirect_www

Toggle the www→apex 301 redirect for an apex custom domain

Tool

deployment_domain_redirect_www

Toggle the www→apex 301 redirect for an apex custom domain

Toggle the www→apex 301 redirect for an apex custom domain

Behavior

HTTP
PATCH /deployment/domains/:id/redirect-www

Arguments

NameTypeRequiredDescription
idstringNo description in the catalog.
enabledbooleanNo description in the catalog.

Response

FieldTypeAlwaysDescription
idstring
kindstring
hostnamestring
createdAtstring
tlsStatusstring
updatedAtstring
lastProbeAtstring
redirectWwwboolean
wwwTlsStatusstring
environmentIdstring
routingStatusstring
lastProbeErrorstring
dnsInstructionsobject
routingRecordTypestring
verificationTokenstring
verificationStatusstring
lastVerificationErrorobject
lastVerificationCheckAtstring
tlsCertificateExpiresAtstring

Try it

Toggle the www→apex 301 redirect for an apex custom domain.

When to use

Toggle the www→apex 301 redirect for an apex custom domain

Example

Ask your agent something like this:

Toggle the www→apex 301 redirect for an apex custom domain.

The agent will invoke deployment_domain_redirect_www with these arguments:

{
  "id": "<id>",
  "enabled": "<enabled>"
}

Esc

Start typing to search the docs.

navigateselect