# Domains

A domain is a way to logically group endpoints. The name of the domain will be part of a public DNS record. For that reason, we let the customer choose their domain names. Once a domain has been created, endpoints can be created and managed within the context of the domain. Because endpoints can only exist within the context of a domain, creating a domain is the first step in creating endpoints.

### Base URL

https://api.catapult.inetwork.com/v1/users/{userId}/domains

### Capabilities

GET /v1/users/{userId}/domains/ List all domains on an user
POST /v1/users/{userId}/domains Create a new domain
/v1/users/{userId}/domains/{domainId} Delete specific domain