Domains

Update a domain

put/domains/{domainId}

Request

  • Base URL: https://api.pulsetic.com/api/public
  • URL: https://api.pulsetic.com/api/public/domains/{domainId}
  • Auth: API key in header Authorization

Path parameters

domainIdinteger required
Example:1

Request body

aliasstring
is_activeboolean
disable_expired_alertboolean
disable_expiring_soon_alertboolean
disable_status_alertsboolean
tagsstring[]

Replaces the domain's tags with this list (existing tags with the same name are reused, unknown names are created automatically). Send an empty array to remove all tags; omit this field to leave existing tags untouched.

Example request

{
  "tags": [
    "production",
    "critical"
  ]
}

Response

successful operation

idinteger
domainstring
aliasstring
is_activeboolean
disable_expired_alertboolean
disable_expiring_soon_alertboolean
disable_status_alertsboolean
created_atstring date-time
updated_atstring date-time

Example response

{
  "tags": [
    {
      "name": "production"
    },
    {
      "name": "critical"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.