teams

Embed
Preview of the card
<a href="https://lucidace.com/docs/ref-teams"><img src="https://lucidace.com/docs/_api/public/orgs/af34862a-c837-4478-8335-0505efe40459/spaces/da916cd3-c0fc-4b63-b971-b3c13623daf3/pages/199e20ac-2271-497d-b411-66ab6d5ca74c/social-card.svg?v=3e7ae33eec8b" alt="teams" width="600" height="315"></a>
GEThttps://lucidace.com/v1/orgs/{org_id}/teamsScope admin

Parameters

org_idstringpathrequired
qstringquery
limitintegerquery
cursorstringquery

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/teams"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 by name
Example
{
  "data": [
    {
      "created_at": "2024-01-01T00:00:00Z",
      "description": "string",
      "id": "string",
      "member_count": 0,
      "name": "string"
    }
  ],
  "next_cursor": "string"
}
Schema
dataobject[]required
Show child parameters
created_atstringrequired
descriptionstringrequired
idstringrequired
member_countintegerrequired
namestringrequired
next_cursorstring
404
POSThttps://lucidace.com/v1/orgs/{org_id}/teamsScope admin

Parameters

org_idstringpathrequired

Request body

application/json
descriptionstring
namestringrequired
{
  "description": "string",
  "name": "string"
}

Code samples

cURL
curl -X POST "https://lucidace.com/v1/orgs/{org_id}/teams" \
  -H "Content-Type: application/json" \
  -d '{"description":"string","name":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

201
Example
{
  "created_at": "2024-01-01T00:00:00Z",
  "description": "string",
  "id": "string",
  "member_count": 0,
  "name": "string"
}
Schema
created_atstringrequired
descriptionstringrequired
idstringrequired
member_countintegerrequired
namestringrequired
400
403
404
409
GEThttps://lucidace.com/v1/orgs/{org_id}/teams/{id}Scope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X GET "https://lucidace.com/v1/orgs/{org_id}/teams/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200
Example
{
  "created_at": "2024-01-01T00:00:00Z",
  "description": "string",
  "id": "string",
  "member_count": 0,
  "name": "string",
  "member_ids": [
    "string"
  ]
}
Schema
created_atstringrequired
descriptionstringrequired
idstringrequired
member_countintegerrequired
namestringrequired
member_idsstring[]required
404
DELETEhttps://lucidace.com/v1/orgs/{org_id}/teams/{id}Scope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Code samples

cURL
curl -X DELETE "https://lucidace.com/v1/orgs/{org_id}/teams/{id}"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

204
403
404
PATCHhttps://lucidace.com/v1/orgs/{org_id}/teams/{id}Scope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Request body

application/json
descriptionstring
namestring
{
  "description": "string",
  "name": "string"
}

Code samples

cURL
curl -X PATCH "https://lucidace.com/v1/orgs/{org_id}/teams/{id}" \
  -H "Content-Type: application/json" \
  -d '{"description":"string","name":"string"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404
409
PUThttps://lucidace.com/v1/orgs/{org_id}/teams/{id}/membersScope admin

Parameters

org_idstringpathrequired
idstringpathrequired

Request body

application/json
user_idsstring[]required
The complete member list; each must belong to the org.
{
  "user_ids": [
    "string"
  ]
}

Code samples

cURL
curl -X PUT "https://lucidace.com/v1/orgs/{org_id}/teams/{id}/members" \
  -H "Content-Type: application/json" \
  -d '{"user_ids":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

400
403
404 no such team, or a user is not in the org
Updated