Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain.
Ruby
require 'dub' Models = ::OpenApiSDK::Models s = ::OpenApiSDK::Dub.new( security: Models::Shared::Security.new( token: 'DUB_API_KEY', ), ) res = s.domains.delete(slug: 'acme.com') unless res.nil? # handle response end
{ "slug": "acme.com" }
Default authentication mechanism
The domain name.
"acme.com"
The domain was deleted.
Was this page helpful?