Sazabi
APIComponents

Assign a component to a team

PUT
/components/{componentId}/team

Assign a component to an owning team, reassign it, or unassign it. A component is owned by at most one team.

Path Parameters

componentId*string

Component whose owning team to set.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/components/497f6eca-6276-4993-bfeb-53cbbbba6f08/team" \  -H "Content-Type: application/json" \  -d '{    "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec"  }'
{  "componentId": "616ccd92-d666-4180-8349-8d125b269fac",  "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec"}