Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 4.78 KB

createdomainrequestbody.md

File metadata and controls

22 lines (17 loc) · 4.78 KB

CreateDomainRequestBody

Example Usage

import { CreateDomainRequestBody } from "dub/models/operations";

let value: CreateDomainRequestBody = {
  slug: "acme.com",
};

Fields

Field Type Required Description Example
slug string ✔️ Name of the domain. acme.com
expiredUrl string Redirect users to a specific URL when any link under this domain has expired. https://acme.com/expired
notFoundUrl string Redirect users to a specific URL when a link under this domain doesn't exist. https://acme.com/not-found
archived boolean Whether to archive this domain. false will unarchive a previously archived domain. false
placeholder string Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. https://dub.co/help/article/what-is-dub
logo string The logo of the domain.