Skillset Abilitys

Delete Skillset Ability

Delete a ability from a skillset

post
/v1/skillset/{skillsetId}/ability/{abilityId}/delete

Authorization

ChatBotKit API Secret * Required

HTTP Authorization Scheme: bearer

Path Parameters

skillsetIdstring* Required

The ID of the skillset

abilityIdstring* Required

The ID of the ability to delete

Request Body * Required

Request Body Schema: application/json

import { ChatBotKit } from '@chatbotkit/sdk'

const cbk = new ChatBotKit({

secret: process.env.CHATBOTKIT_API_KEY!

})

const response = await cbk.skillset.ability.delete(

skillsetId, abilityId,
{}
)
{
"id":"string"
}
The ability was deleted successfully