ReDoc documentation

team/{teamId}

team/{teamId}

get/V1/team/{teamId}

Returns data for a team in the company, by entity id.

Request
path Parameters
teamId
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "id": 0,
  • "name": "string",
  • "description": "string",
  • "extension_attributes": { },
  • "custom_attributes": [
    ]
}

team/{teamId}

delete/V1/team/{teamId}

Delete a team from the company structure.

Request
path Parameters
teamId
required
integer
Responses
400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}

team/{teamId}

put/V1/team/{teamId}

Update a team in the company structure.

Request
path Parameters
teamId
required
string
Request Body schema:
required
object (company-data-team-interface)

Team interface

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "team": {
    }
}
Response samples
true