Skip to content

Function: reorderQueues() ​

ts
function reorderQueues(
   client, 
   parameters, 
   options?
): Promise<object[]>;

Defined in: src/serviceDeskServer/api/queues.ts:166

Reorder queues for the users. This is the order in which the queues will appear in agent view. The API requires all queue ids to be passed in the new order.

Permissions:

The calling user must have permission to reorder the queue, i.e. they must be an admin of the service project that the queue belongs to.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ body: number[]; serviceDeskId: string; }-
parameters.bodynumber[]-
parameters.serviceDeskId?stringThe ID of the service project.
options?RequestOptions-

Returns ​

Promise<object[]>