POST
/
organizations
/
{organizationId}
/
teams
curl --request POST \
  --url https://api.icepanel.io/v1/organizations/{organizationId}/teams \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "color": "blue",
  "name": "<string>",
  "userIds": [
    "<string>"
  ]
}'
{
  "team": {
    "color": "blue",
    "name": "<string>",
    "userIds": [
      "<string>"
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "createdBy": "user",
    "createdById": "<string>",
    "id": "<string>",
    "modelObjectHandleIds": [
      "<string>"
    ],
    "organizationId": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "updatedBy": "user",
    "updatedById": "<string>"
  }
}

Headers

Authorization
string
required

Path Parameters

organizationId
string
required

Body

application/json
name
string
required
Maximum length: 128
color
enum<string>
Available options:
blue,
green,
yellow,
orange,
red,
beaver,
dark-blue,
purple,
pink,
white,
grey,
black
userIds
string[]

Response

200
application/json
OK
team
object
required