APITeams
Get a team
Get one team with its active members. The team is read in the organization the credential acts in.
GET https://api.sazabi.com/v1/teams/{teamId}
Path Parameters
teamId*string
Team to read.
Format
uuidQuery Parameters
organizationId?string
Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).
Length
1 <= lengthResponse Body
application/json
curl -X GET "https://example.com/teams/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "team": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "createdAt": "2019-08-24T14:15:22Z", "memberCount": 0 }, "members": [ { "userId": "string", "name": "string", "email": "user@example.com", "addedAt": "2019-08-24T14:15:22Z" } ]}