Closed sandhiyakavi closed 2 years ago
@rakibansary , please add it to the other skill fixes
Hi @dashu-baba
We'll need to use the PATCH /skills Api to "delete" skills. A skill is deleted when the hidden flag is set to true. Assume our list of skills is [{ label: "X", legacyId: 1}, {label: "Y", legacyId: 2}]
- to delete the second skill the required Api call is
PATCH /skills
{
"2": {
"hidden": true
}
}
I suggest using the hidden attribute to avoid having to maintain a seperate list to track deleted skills.
Verified in Dev Env. Able to remove the skill now.
Description:
Not able to remove the skills added under Add your Skills field.
Steps to Reproduce:
Actual Result: The Skill is getting Patched again instead of getting removed.
https://user-images.githubusercontent.com/55895538/140263472-8d3b6f92-1fd9-4bd3-a544-9d958fe2cc2f.mp4