Snapvisor Docs

List a team's email domains

List the email domains a team is open to. Requires administrator access to the team. Use it to check which email domains let people join a team automatically.

GET
/accounts/{accountSlug}/domains

List the email domains a team is open to. Requires administrator access to the team. Use it to check which email domains let people join a team automatically.

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/accounts/string/domains"
[  {    "domain": "string",    "createdAt": "2019-08-24T14:15:22Z"  }]