View Source Vercel.Dns (Vercel v0.1.5)
Link to this section Summary
Functions
Creates a DNS record for a domain.
Removes an existing DNS record from a domain name.
Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.
Link to this section Functions
@spec create(String.t(), params, opts) :: {:ok, map()} | {:error, any()} when params: %{ type: String.t(), name: String.t(), value: String.t(), priority: number() }, opts: %{optional(:teamId) => String.t()}
Creates a DNS record for a domain.
@spec delete(domain :: String.t(), record_id :: String.t(), params) :: {:ok, map()} | {:error, any()} when params: %{optional(:teamId) => String.t()}
Removes an existing DNS record from a domain name.
@spec list(String.t(), params) :: {:ok, map()} | {:error, any()} when params: %{ optional(:limit) => String.t(), optional(:since) => String.t(), optional(:teamId) => String.t(), optional(:until) => String.t() }
Retrieves a list of DNS records created for a domain name. By default it returns 20 records if no limit is provided. The rest can be retrieved using the pagination options.