latestOpenAPI 3.0.02026-08-2217901.1 MB

ef9153fcac7c

Teams

Create new team

post/teams

Query parameters

skipWebhookboolean

Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks

Headers

x-organization-idinteger

Required if using a multi organizations token

Request body

namestring required
descriptionstring
assetIdsinteger[]

List of asset IDs that the team is responsible for

locationIdsinteger[]

List of location where the team is operating

memberIdsinteger[]

List of user IDs that are part of the team

Example request

{
  "name": "Cleaning",
  "description": "Team responsible for cleaning the factory",
  "assetIds": [
    12,
    46
  ],
  "locationIds": [
    7,
    145,
    988
  ],
  "memberIds": [
    98,
    46,
    744
  ]
}

Response

Successfully created team

idinteger required

Global ID of the team

Example response

{
  "id": 963
}