Delete team

POST {{baseUrl}}/api/v1/teams/:team_id/deleteTeam

This API deletes an existing team from your help desk portal. To reassign the open and on hold tickets and tasks of the deleted team to a different team, pass the ticketNewTeam, taskNewTeam, ticketNewAgent, and taskNewAgent team parameters in the API request. If you do not want to assign the tickets to another team, pass the values of ticketNewTeam and ticketNewAgent as null. However, in the case of tasks, either taskNewTeam or taskNewAgent must have a valid value. Both parameters cannot be passed as null.

OAuth Scope

  • Desk.settings.DELETE
  • Desk.basic.DELETE

Attributes

Attribute NameData TypeDescription
ticketNewTeam (required)<long>
Assign open and on hold tickets of the team being deleted to this team.
ticketNewAgent (required)<long>
Assign open and on hold tickets of the team being deleted to this agent.
taskNewTeam (required)<long>
Assign open tasks of the team being deleted to this team.
taskNewAgent (required)<long>
Assign open tasks of the team being deleted to this agent.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

&quot;&quot;