Update skill

PATCH {{baseUrl}}/api/v1/skills/:skillId

This API Updates a skill

OAuth Scope

  • Desk.settings.UPDATE

Attributes

Attribute NameData TypeDescription
name<String>
Name of the skill
description<String>
description of the skill
status<String>
Values allowed are ACTIVE and INACTIVE
skillTypeId<long>
ID of the Skill Type
criteria<list>
The criteria details for the skill
agentIds<list>
IDs of the agents mapped with the skill

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;modifiedTime&quot;:&quot;2020-07-23T13:08:36.093Z&quot;,&quot;agentIds&quot;:[&quot;1000000000059&quot;],&quot;skillType&quot;:{&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;skillTypeName&quot;:&quot;Language&quot;},&quot;orderId&quot;:&quot;5&quot;,&quot;criteria&quot;:{&quot;fieldConditions&quot;:[{&quot;displayValue&quot;:[&quot;Malayalam&quot;],&quot;condition&quot;:&quot;contains&quot;,&quot;fieldName&quot;:&quot;Subject&quot;,&quot;fieldModule&quot;:&quot;tickets&quot;,&quot;value&quot;:[&quot;Malayalam&quot;]}],&quot;pattern&quot;:&quot;1&quot;},&quot;departmentId&quot;:&quot;1000000013248&quot;,&quot;description&quot;:&quot;Malayali&quot;,&quot;skillTypeId&quot;:&quot;1000000173013&quot;,&quot;createdBy&quot;:&quot;1000000000059&quot;,&quot;name&quot;:&quot;Malayalam&quot;,&quot;createdTime&quot;:&quot;2020-07-23T13:08:36.093Z&quot;,&quot;modifiedBy&quot;:&quot;1000000000059&quot;,&quot;id&quot;:&quot;1000000173145&quot;,&quot;status&quot;:&quot;ACTIVE&quot;}