PPylon Developers
ApiOrganizer Domains

Update domain

Updates domain type (Alias or Redirect).

PUT
/api/organizer/v1/sites/{siteId}/domains/{domainId}
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

siteId*string
Formatuuid
domainId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/problem+json

curl -X PUT "https://loading/api/organizer/v1/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/domains/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "type": "string",    "redirectTarget": null  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1",
  "hostname": "string",
  "type": "string",
  "verificationStatus": "string",
  "verificationMethod": "string",
  "verificationToken": null,
  "verifiedAt": "2019-08-24T14:15:22Z",
  "sslStatus": "string",
  "sslExpiresAt": "2019-08-24T14:15:22Z",
  "redirectTarget": null,
  "isPrimary": true,
  "isActive": true,
  "createdAt": "2019-08-24T14:15:22Z",
  "dnsInstructions": null
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}