Update many tasks

POST {{baseUrl}}/api/v1/tasks/updateMany

This API updates multiple tasks at once.

OAuth Scope

  • Desk.activities.UPDATE
  • Desk.activities.tasks.UPDATE
  • Desk.tasks.UPDATE

Attributes

Attribute NameData TypeDescription
ids (required)<list>
Array containing the IDs of the entities to update. The maximum number of IDs allowed is 50.
fieldName (required)<string>
max chars : 320
Name of the fieldĀ to update
fieldValue<string>
max chars : 320
Value in the field
isCustomField<boolean>
Key that denotes if the field is a user-defined field or not

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;success&quot;:true,&quot;id&quot;:&quot;1892000000093303&quot;,&quot;errors&quot;:null},{&quot;success&quot;:true,&quot;id&quot;:&quot;1892000000085009&quot;,&quot;errors&quot;:null},{&quot;success&quot;:false,&quot;id&quot;:&quot;1892000000050003&quot;,&quot;errors&quot;:{&quot;errorMessage&quot;:&quot;Either the field is invalid or the field may be restricted to update&quot;,&quot;errorCode&quot;:&quot;UNPROCESSABLE_ENTITY&quot;,&quot;httpCode&quot;:&quot;422&quot;}}]}