Get Team By ID

GET {{baseUrl}}/teams/:teamID

Returns a team details of the given teamID in the request param.
Requires access_token as a Bearer {{token}} in the Authorization header with read scope.

HEADERS

KeyDatatypeRequiredDescription
Authorizationnull

RESPONSES

status: OK

{"data":{"id":"6129ac15518568defa92794b","created_at":"2021-08-28T03:23:01.471Z","updated_at":"2021-08-28T03:23:01.471Z","created_by":"60cb1f03ceb9ac000726a1ba","organization_id":"60cb200bc9de4a0008d2fc41","name":"Default Team","description":"Default team","slug":"default-team","members":[{"user_id":"60cb1ef1c9de4a0008d2fadd","role_ids":["6129ac15518568defa927947","6129ac15518568defa927948"],"abilities":{}},{"user_id":"60cb1ee77a9b2900091cf19d","role_ids":["6129ac15518568defa927947","6129ac15518568defa927948"],"abilities":{}},{"user_id":"5cf50792a8825800122458c2","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"60cb223997db1cf2cac4da92","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"60cb1f03ceb9ac000726a1ba","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"612f9bbc4afb140007314590","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"615548283db2490008384c7e","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"61359e0fefd3f2000938fbec","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"603360ce3aeae4de2b6edec1","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"6204e4ce0b06fadf98e2006d","role_ids":["6129ac15518568defa927949"],"abilities":{}},{"user_id":"60f12dd3814bef0008c4036e","role_ids":["6129ac15518568defa927949","6129ac15518568defa927947","6129ac15518568defa927948"],"abilities":{}},{"user_id":"61badbdd52dc8a0007eb4d2f","role_ids":["6129ac15518568defa927947"],"abilities":{}}],"roles":[{"id":"6129ac15518568defa927947","name":"Manage Team","slug":"manage-team","default":true,"abilities":{"teams":{"delete-teams":true,"read-teams":true,"update-teams":true}}},{"id":"6129ac15518568defa927948","name":"Admin","slug":"admin","default":false,"abilities":{"escalation_policies":{"create-escalation-policies":true,"delete-escalation-policies":true,"read-escalation-policies":true,"update-escalation-policies":true},"postmortems":{"create-postmortems":true,"delete-postmortems":true,"read-postmortems":true,"update-postmortems":true},"schedules":{"create-schedules":true,"delete-schedules":true,"read-schedules":true,"update-schedules":true},"services":{"create-services":true,"delete-services":true,"read-services":true,"update-services":true},"squads":{"create-squads":true,"delete-squads":true,"read-squads":true,"update-squads":true},"status_pages":{"create-status-pages":true,"delete-status-pages":true,"read-status-pages":true,"update-status-pages":true}}},{"id":"6129ac15518568defa927949","name":"User","slug":"user","default":false,"abilities":{"escalation_policies":{"read-escalation-policies":true,"update-escalation-policies":true},"postmortems":{"read-postmortems":true,"update-postmortems":true},"schedules":{"read-schedules":true,"update-schedules":true},"services":{"read-services":true,"update-services":true},"squads":{"read-squads":true,"update-squads":true},"status_pages":{"read-status-pages":true,"update-status-pages":true}}},{"id":"6129ac15518568defa92794a","name":"Observer","slug":"observer","default":false,"abilities":{"escalation_policies":{"read-escalation-policies":true},"postmortems":{"read-postmortems":true},"schedules":{"read-schedules":true},"services":{"read-services":true},"squads":{"read-squads":true},"status_pages":{"read-status-pages":true}}}],"default":true,"organization":{"id":"60cb200bc9de4a0008d2fc41","name":"Modhilal_Squadcast","slug":"modhilalsquadcast"}}}