teams
update a team
Update a team.
PUT
/
teams
/
{team_slug}
Copy
curl --request PUT \
--url https://api.orgnise.in/teams/{team_slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Engineering Team",
"description": "A team for the engineering department.",
"slug": "engineering"
}'
Copy
{
"_id": "<string>",
"name": "<string>",
"logo": null,
"description": "<string>",
"role": "<any>",
"membersCount": 123,
"meta": {
"title": "<string>",
"description": "<string>",
"slug": "<string>"
},
"inviteCode": "<string>",
"plan": "free",
"billingCycleStart": 123,
"usage": {
"pages": 0,
"users": 0,
"workspaces": 0
},
"limit": {
"pages": 0,
"users": 0,
"workspaces": 0
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
Authorizations
Default authentication mechanism
Path Parameters
The slug of the team.
Body
application/json
Update a team.
Response
200
application/json
The updated team
The response is of type object
.
Was this page helpful?
Copy
curl --request PUT \
--url https://api.orgnise.in/teams/{team_slug} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Engineering Team",
"description": "A team for the engineering department.",
"slug": "engineering"
}'
Copy
{
"_id": "<string>",
"name": "<string>",
"logo": null,
"description": "<string>",
"role": "<any>",
"membersCount": 123,
"meta": {
"title": "<string>",
"description": "<string>",
"slug": "<string>"
},
"inviteCode": "<string>",
"plan": "free",
"billingCycleStart": 123,
"usage": {
"pages": 0,
"users": 0,
"workspaces": 0
},
"limit": {
"pages": 0,
"users": 0,
"workspaces": 0
},
"createdAt": "<string>",
"updatedAt": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.