Files
dub-node/docs/models/operations/createdomainrequestbody.md
2024-06-20 17:22:38 +05:30

5.2 KiB
Raw Blame History

CreateDomainRequestBody

Fields

Field Type Required Description Example
slug string ✔️ Name of the domain. acme.com
type operations.Type The type of redirect to use for this domain. redirect
target string The page your users will get redirected to when they visit your domain. https://acme.com/landing
expiredUrl string Redirect users to a specific URL when any link under this domain has expired. https://acme.com/expired
archived boolean Whether to archive this domain. false will unarchive a previously archived domain. false
noindex boolean Prevent search engines from indexing the domain. Defaults to 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