cURL
curl --request POST \ --url https://api.example.com/api/teams \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Engineering", "slug": "engineering" } '
{ "data": { "id": 123, "name": "<string>", "slug": "<string>", "created_by": "<string>", "is_active": true, "created_at": "<string>", "updated_at": "<string>", "member_count": 123 } }
Creates a team and adds the authenticated user as the owner.
Auth0 JWT access token
Display name for the team
1 - 200
"Engineering"
URL-friendly identifier (lowercase alphanumeric + hyphens)
1 - 100
^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$
"engineering"
Team created
Show child attributes