DELETE Teams

Deletes the given team.

Request Information

URI Parameters

None.

Body Parameters

Team to be deleted

Team
NameDescriptionTypeAdditional information
TeamId

globally unique identifier

None.

Name

string

None.

Description

string

None.

Users

Collection of User

None.

AssetGroups

Collection of AssetGroup

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TeamId": "ac21eb37-fc34-440a-b93f-c13bee5df8e8",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "Users": [
    {
      "UserId": "40aaba2b-674d-432c-9f07-299f77f466d4",
      "UserName": "sample string 1",
      "FullName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "IsLockedOut": true,
      "IsApproved": true,
      "Role": {
        "Name": "sample string 1",
        "Description": "sample string 2"
      },
      "CompanyId": "ef337888-1036-4ef9-a62b-f06d1ebbc2de",
      "Teams": []
    },
    {
      "UserId": "40aaba2b-674d-432c-9f07-299f77f466d4",
      "UserName": "sample string 1",
      "FullName": "sample string 2",
      "PhoneNumber": "sample string 3",
      "Email": "sample string 4",
      "IsLockedOut": true,
      "IsApproved": true,
      "Role": {
        "Name": "sample string 1",
        "Description": "sample string 2"
      },
      "CompanyId": "ef337888-1036-4ef9-a62b-f06d1ebbc2de",
      "Teams": []
    }
  ],
  "AssetGroups": [
    {
      "AssetGroupId": "972aa8a7-c367-4959-9d6e-72a558a5098c",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-11-21T04:57:38.159084-08:00",
      "MeasurementValueNeededDate": "2024-11-21T04:57:38.159084-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "2a58ecda-dabf-4876-95c8-d6e977e42202",
      "CreateDate": "2024-11-21T04:57:38.159084-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-11-21T04:57:38.159084-08:00",
      "LastModifiedUser": "sample string 6"
    },
    {
      "AssetGroupId": "972aa8a7-c367-4959-9d6e-72a558a5098c",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-11-21T04:57:38.159084-08:00",
      "MeasurementValueNeededDate": "2024-11-21T04:57:38.159084-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "2a58ecda-dabf-4876-95c8-d6e977e42202",
      "CreateDate": "2024-11-21T04:57:38.159084-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-11-21T04:57:38.159084-08:00",
      "LastModifiedUser": "sample string 6"
    }
  ],
  "SourceSystemId": "sample string 3",
  "CompanyId": "4d0e78ad-9d74-4c36-b8bb-43f3c2dd2fb6",
  "CreateDate": "2024-11-21T04:57:38.159084-08:00",
  "CreateUser": "sample string 5",
  "LastModifiedDate": "2024-11-21T04:57:38.159084-08:00",
  "LastModifiedUser": "sample string 6"
}

Response Information

Resource Description

NameDescriptionTypeAdditional information
Data

Object

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Total": 1,
  "Message": "sample string 2"
}