Language:

/instances/domains

POST

Create Domain

Creates a domain for a given instance.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx/domains
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
    "domain": "{{domain_name}}",
    "branch": "live"
}
GET

Get Domain

Gets a single instance's domain.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx/domains/{{domain_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
GET

Get All Domains

Gets all domains associated with an instance.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx/domains
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 
PUT

Update Domain

Updates a single domain.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx/domains/{{domain_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

Request Body

{
  "domain": "{{domain_name}}",
  "branch": "live"
}
DELETE

Delete Domain

Deletes a single instance's domain.

Please sign in to view your instance’s unique identifier

URL Endpoint

https://accounts.api.zesty.io/v1/instances/8-xxxxxxxxx/domains/{{domain_zuid}}
Please sign in to view your token

Authentication Header

Bearer YOUR_APP_SID 

;