Remove an email domain from an organization

Removes an email domain. Members who joined through it stay members.

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
emailDomainstringRequired

Email domain

Responses
204

Domain not found

No content

delete/orgs/{organizationId}/domains/{emailDomain}
DELETE /v1/orgs/{organizationId}/domains/{emailDomain} HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated

Was this helpful?

Powered by GitBook