Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1004 Bytes

domains.md

File metadata and controls

58 lines (35 loc) · 1004 Bytes

Domains Actions

Details on the various actions that can be performed on the Domains resource, including the expected parameters and the potential responses.

Contents

GetDomains

Fetches a list of all your domains

result = client.domains.get_domains()

puts result

GetDomain

Fetches a specific domain

result = client.domains.get_domain(domainId: my_domain_id)

puts result

CreateDomain

This endpoint creates a private domain attached to your account. Note, the domain must be unique to the system and you must have not reached your maximum number of Private Domains.

result = client.domains.create_domain(domainId: my_domain_id)

puts result

DeleteDomain

This endpoint deletes a Private Domain

result = client.domains.delete_domain(domainId: my_domain_id)

puts result