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
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$emailDomainstringRequired
Email domain
Responses
204
Domain not found
No content
205
Domain removed
404
Not Found
application/json
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?