BatchGetTeams
/api/v1/teams:batchGetFetch a set of teams by name.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/teams:batchGet?names=string"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/teams:batchGet?names=string"Set OBLIQUE_API_KEY to your API key.
Query parameters
Section titled “Query parameters”namesstring[]requiredAn explicit list of teams to request. Format:
teams/{team}.
Response
Section titled “Response”200BatchGetTeamsResponseteamsTeam[]All teams in the same order as the requested names.
namestringAssigned by Oblique. Name of the team of the format
teams/{team}.uristringread-onlyLink to the team’s page in the Oblique app, for example “https://us.oblique.security/teams/abc”.
displayNamestringrequiredDisplayed name of the team.
descriptionstringLonger description.
managementManagementHow this team is managed. Set automatically by the server based on the calling client. Omitted from responses when the team is manually managed (the default).
managerstringHow the API object is managed. Set automatically by the server based on the caller: Terraform clients produce
TERRAFORM; for all other clients the management field is left unset on the response.repoUristringURI of the VCS repository that holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.
repoDirstringOptionally, the subdirectory within
repo_urithat holds the Terraform configuration for this API object. Populated by the Oblique Terraform provider.
createTimestring (date-time)read-onlyCreate and update timestamps.
updateTimestring (date-time)read-onlydeleteTimestring (date-time)read-onlyTeams can only be soft-deleted to preserve logs and history. If this field is present, the team has been deleted and won’t be returned in lists, but can still be fetched by name.
memberCountinteger (int32)read-onlyThe number of members in the team.
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |