Teams

List the teams this credential can use

The teams the caller may act on, with the ids the DoDomain-Team header takes. An OAuth connection lists the teams its grant covers that the person still belongs to — one, several, or every team they are on, as chosen on the consent screen. A secret key lists its own app's one team. Only ids and names are returned.

get/api/v1/teams

Request

  • Base URL: https://app.dodomain.io
  • URL: https://app.dodomain.io/api/v1/teams
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.dodomain.io/api/auth/oauth2/authorize, token URL https://app.dodomain.io/api/auth/oauth2/token, scopes: teams:read)

Headers

DoDomain-Teamstring

The id of the team this call acts on, from GET /api/v1/teams. Needed only when the credential can use more than one team (an OAuth connection granted several); a secret key has exactly one. A team the credential cannot use is refused 404 TEAM_NOT_FOUND — the same answer whether the team exists or not.

Response

Success.

Changes

No recorded changes to this operation across all 1 revision of this API.