Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

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

Code Block
languagepowershell
themeMidnight
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

Code Block
languagejs
themeMidnight
{
   "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

Code Block
languagejs
themeMidnight
{
  "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.

Insert excerpt
_ExcerptRunInPostman
_ExcerptRunInPostman
nopaneltrue