Skip to Content

Public M2M API — team

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/team

Exported methods: GET, POST

GET

  • Resource scopes: team:read
  • Query parameters: isActive, limit, page, search
  • Shared pagination: Yes
  • Response keys observed across outcomes: departments, pagination, teams, tenantId

POST

  • Resource scopes: team:write
  • Explicit response statuses: 201, 400, 404, 409, 422
  • Explicit error codes: invalid_request, not_found, onboarding_incomplete, team_operation_failed
  • Response keys observed across outcomes: department, team

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
codestringYesNo—min(1), max(40)
colorstringYesNo——
descriptionstringYesNo—max(500)
idstringYesNo——
isActivebooleanYesNo——
kindenumYesNoservice_team, department, add_member, remove_memberdefault("service_team")
leadIdstringYesNo——
managerIdstringYesNo——
memberIdstringYesNo——
namestringYesNo—min(1), max(120)
parentIdstringYesNo——
rolestringYesNo——
teamIdstringYesNo——