Teams
Create new team
Changed onpost/teams
Request
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
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
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
Example response
{
"id": 963
}Changes
- breaking
removed the media type
application/octet-streamfrom the request body - info
added the new optional
headerrequest parameterx-organization-id - info
added the new optional
queryrequest parameterskipWebhook
- breaking