Openapi
Create a team for the specified organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidThe team payload.
application/jsondescription?|nulliconName*teamIconNameSchema^[A-Za-z0-9]+Icon$1 <= length <= 120name*string1 <= length <= 120slug*teamSlugSchema^[a-z0-9]+(?:-[a-z0-9]+)*$2 <= length <= 64Returns the created team.
application/jsoncreatedAt*stringdate-timecreatedBy*|uuiddescription*|nulliconName*teamIconNameSchema^[A-Za-z0-9]+Icon$1 <= length <= 120id*teamIdSchemauuidmemberCount*integer0 <= valuename*string1 <= lengthorganizationId*organizationIdSchemauuidslug*teamSlugSchema^[a-z0-9]+(?:-[a-z0-9]+)*$2 <= length <= 64status*teamStatusSchema"active""archived"updatedAt*stringdate-timeupdatedBy*|uuidcurl -X POST 'https://app.localhost/api/v1/organizations/123/teams' \ -H 'Content-Type: application/json' \ -d '{ "iconName": "string", "name": "string", "slug": "string"}'{ "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "description": "string", "iconName": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "memberCount": 0, "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "slug": "string", "status": "active", "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"}