Skip to main content
POST
/
teams
/
create
Create team
curl --request POST \
  --url https://api.obselite.com/v0/teams/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "colorKey": "AMBER",
  "name": "<string>",
  "description": "<string>",
  "daysOff": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "statusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "color": "<string>",
  "parentTeamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isEnabled": true,
  "lockedAt": "<string>",
  "cycles": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "files": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "labels": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "language": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "links": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "policies": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "resources": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "statusGroups": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "tasks": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "users": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "teams": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isEnabled": true,
  "name": "<string>",
  "statusId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "lockedAt": "<string>",
  "description": "<string>",
  "organization": {},
  "user": {},
  "status": {},
  "cyclePolicy": {},
  "cycles": [
    {}
  ],
  "comments": [
    {}
  ],
  "files": [
    {}
  ],
  "labels": [
    {}
  ],
  "language": [
    {}
  ],
  "links": [
    {}
  ],
  "machine": {},
  "machineOutputs": [
    {}
  ],
  "policies": [
    {}
  ],
  "resources": [
    {}
  ],
  "statusGroups": [
    {}
  ],
  "tasks": [
    {}
  ],
  "users": [
    {}
  ],
  "teams": [
    {}
  ],
  "parent": {},
  "configuration": {},
  "metadata": {},
  "activities": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The API token generated from the Obselite dashboard

Body

application/json
colorKey
enum<string>
Available options:
AMBER,
BLACK,
BLUE,
CYAN,
EMERALD,
FUCHSIA,
GRAY,
GREEN,
INDIGO,
LIME,
NEUTRAL,
ORANGE,
PINK,
PRIMARY,
PURPLE,
RED,
ROSE,
SKY,
SLATE,
STONE,
TEAL,
VIOLET,
WHITE,
YELLOW,
ZINC
name
string
description
daysOff
string<uuid>[]
statusId
string<uuid> | null

Status UUID

color
string | null
parentTeamId
string<uuid> | null

Parent Team UUID

isEnabled
boolean
lockedAt
string | null
cycles
string<uuid>[]
files
string<uuid>[]
labels
string<uuid>[]
language
string<uuid>[]
policies
string<uuid>[]
resources
string<uuid>[]
statusGroups
string<uuid>[]
tasks
string<uuid>[]
users
string<uuid>[]
teams
string<uuid>[]

Response

Successful response

id
string<uuid>
required

Team UUID

isEnabled
boolean
required
name
string
required
description
required
statusId
string<uuid> | null

Status UUID

lockedAt
string | null
organization
object | null

Parent organization this team belongs to, following the organization schema

user
object | null

Team lead or primary contact, following the user schema

status
object | null

Current state and workflow status of this team, following the status schema

cyclePolicy
object | null

Development cycle rules and guidelines for this team, following the cycle policy schema

cycles
array
comments
array
files
array
labels
array
language
array
machine
object | null

Automated systems and integrations configured for this team, following the machine schema

machineOutputs
array
policies
array
resources
array
statusGroups
array
tasks
array
users
array
teams
array
parent
object | null

Parent team in the organizational hierarchy, following the team schema

configuration
object | null

Team-specific settings and preferences, following the configuration schema

metadata
object | null

Custom properties and attributes for this team, following the metadata schema

activities
array