JavaScript
const options = {method: 'DELETE', headers: {'X-Browser-Use-API-Key': '<api-key>'}}; fetch('https://api.browser-use.com/api/v2/skills/{skill_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "detail": "Cannot delete skill while it is still generating" }
Delete a skill owned by the project.
Successful Response