Snapvisor Docs

Close a team to an email domain

Remove an email domain from a team. New sign-ups on it no longer join automatically; members who already joined stay. Requires administrator access to the team. Use it when a team should stop admitting new sign-ups from an email domain.

DELETE
/accounts/{accountSlug}/domains/{domain}

Remove an email domain from a team. New sign-ups on it no longer join automatically; members who already joined stay. Requires administrator access to the team. Use it when a team should stop admitting new sign-ups from an email domain.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

accountSlug*string

Slug of the team.

Length1 <= length
domain*string

The email domain to remove.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/accounts/string/domains/string"
Empty