Skip to main content
PUT

Authorizations

Authorization
string
header
required

Send your API key as a bearer token: Authorization: Bearer <your API key>. Make a key in the dashboard under Settings → API keys; a workspace key starts with wdg_org_ and works in the workspace it was made in. See API keys and Authentication.

Path Parameters

orgId
string<uuid>
required

Organization ID

domainId
string<uuid>
required

Domain ID

Body

application/json

The body of a request that changes an entry of a list of allowed websites. The property is domain, as when an entry is added: the routes read nothing called name.

domain
string
required

The website name to keep instead, such as example.com, or *.example.com for a website and all of its subdomains

Example:

"example.com"

Response

Domain updated successfully

success
boolean
required

Always true on a success.

Example:

true

data
object
required
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.