Allowed Domains

Delete Allowed Domain

Changed on

Deletes an allowed domain from the account.

Requires api token with one of the following permissions

Read, update & delete anything

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

An expiring access token created with the all:delegate_to_contact_permissions scope and an account authorization granting the manage-allowed-domains permission can also be used.

delete/allowed_domains/{domain}

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/allowed_domains/{domain}
  • Auth
    HTTP bearer

Path parameters

domainstring required
Example:example.com

The domain name to delete

Headers

X-Wistia-API-Versionstring required

Response

Allowed domain deleted successfully

domainstring required

The allowed domain name.

created_atstring date-time required

The date that the allowed domain was originally created.

cursorstring nullable

A cursor for stable pagination based on current sort_by order. You can pass this to cursor[before] or cursor[after] as a parameter to fetch the records before or after this record in the same sort order. This is only populated if records were fetched with cursor[enabled], or cursor[before] or cursor[after].

Example response

{
  "domain": "example.com",
  "created_at": "2010-08-13T18:47:39+00:00"
}

Changes