Update skill by skill ID

The PATCH /skills/{skillId} endpoint updates the skill matching the provided skill ID with provided values.

In this page


Most URLs in the example code use the following values:

Headers

Header parameters in Requests (User Admin API) apply to this endpoint.

Authorization scopes supported:

ScopeAccess granted
users:writeEntire endpoint

Parameters

skillId

Type

Required

Example

StringTrue8e22b1fe-d2ea-403d-8c03-50eb21188e79

The skill ID of the required skill.

Requests

Example Request

curl -L -X PATCH "https://***.api.newvoicemedia.com/useradmin/skills/8e22b1fe-d2ea-403d-8c03-50eb21188e79" \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.newvoicemedia.v4+json" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
--data-raw "<JSON BODY>"

Request body parameters

The endpoint requires a skills object in JSON format as in the request body.

Example request body

{
   "skillName":"Updated skill name"
} 

where:

  • skillName. The name of the skill.

Responses

Responses contain the updated skill object.

Successful response

Successful requests return a 200 Success code and the updated skill.

Example response

{
  "skillId": "85e4de21-30a0-4a37-88e1-1484c6183a50",
  "skillName": "test_skill_changed",
  "skillDisplayId": 424840
}

where:

  • skillId. The unique ID of the skill.
  • skillName. The name of the skill.
  • skillDisplayID. The skill's unique ID.


Try it out

  

For information, see Trying out Vonage Contact Center APIs.