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.
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.
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
Slug of the team.
1 <= lengthThe 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"Open a team to an email domain POST
Add an email domain to a team, so anyone signing up with a verified address on it joins automatically. Requires administrator access to the team, and you must yourself hold a verified address on the domain — a team can only be opened to a domain its administrator demonstrably belongs to. Public email providers are refused. Use it when a team administrator wants everyone with a company email address to join the team automatically.
Reset the invite link POST
Rotate the team's shared invite link, invalidating the previous one. Anyone holding the old link can no longer use it to join. Requires administrator access to the team. Use it when the shared invite link has leaked or has been shared too widely.