132 lines
2.2 KiB
Markdown
132 lines
2.2 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#VPContent)
|
||
|
||
Return to top
|
||
|
||
Get[](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#get)
|
||
|
||
================================================================================
|
||
|
||
GET
|
||
|
||
/teams/{id}
|
||
|
||
Get team by TeamId.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#authorizations)
|
||
|
||
------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Parameters[](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#parameters)
|
||
|
||
----------------------------------------------------------------------------------------------
|
||
|
||
### Path Parameters
|
||
|
||
id\*
|
||
|
||
Team ID
|
||
|
||
Type
|
||
|
||
integer
|
||
|
||
Required
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#responses)
|
||
|
||
--------------------------------------------------------------------------------------------
|
||
|
||
200400401404
|
||
|
||
List of teams.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"id": 0,
|
||
|
||
"name": "string",
|
||
|
||
"description": "string",
|
||
|
||
"personal\_team": true,
|
||
|
||
"created\_at": "string",
|
||
|
||
"updated\_at": "string",
|
||
|
||
"show\_boarding": true,
|
||
|
||
"custom\_server\_limit": "string",
|
||
|
||
"members": \[\
|
||
\
|
||
{\
|
||
\
|
||
"id": 0,\
|
||
\
|
||
"name": "string",\
|
||
\
|
||
"email": "string",\
|
||
\
|
||
"email\_verified\_at": "string",\
|
||
\
|
||
"created\_at": "string",\
|
||
\
|
||
"updated\_at": "string",\
|
||
\
|
||
"two\_factor\_confirmed\_at": "string",\
|
||
\
|
||
"force\_password\_reset": true,\
|
||
\
|
||
"marketing\_emails": true\
|
||
\
|
||
}\
|
||
\
|
||
\]
|
||
|
||
}
|
||
|
||
GET
|
||
|
||
/teams/{id}
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#playground)
|
||
|
||
----------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Variables
|
||
|
||
Key
|
||
|
||
Value
|
||
|
||
id\*
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/get-team-by-id#samples)
|
||
|
||
----------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|