Skip to main content
POST
/
team
Create a new team
curl --request POST \
  --url https://api.basic.tech/team/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "owner": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

JWT Authorization Token header using the Bearer scheme

Body

application/json
name
string
required

Name of the team

slug
string
required

URL-friendly slug for the team - must be unique

Response

201 - application/json

Team created successfully

Team created successfully

data
object