Skip to main content
DELETE
/
team
/
{teamId}
Delete team
curl --request DELETE \
  --url https://apiweb.mile.app/api/v3/team/{teamId}/ \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "code": 200,
  "message": "Data successfully deleted.",
  "data": {
    "_id": "650151e4c8a55842604f1662",
    "name": "Team Delivery Update",
    "hubId": "64d9932e2beb9037735ff022",
    "organizationId": "64d99303be0ad015c461c932",
    "updatedTime": "2023-09-13T06:12:26.124000Z",
    "createdTime": "2023-09-13T06:08:36.025000Z",
    "totalUser": 0
  }
}

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Path Parameters

teamId
string
required

Unique identifier for the team that generated by system. Example: 642634bde1428d414838c882

Response

Success

status
boolean

Status of response.