pagehive

delete_skill

Delete one skill from a site.

SkillsChanges dataAll plansUpdated

What it does

Delete one skill from a site. It cannot be undone. Without confirm true it deletes nothing and returns a warning with the skill that would go (confirm_required true).

Plans

Works on every plan: Free, Basic, Pro and Ultra.

Parameters

NameTypeAbout
site_idrequiredstringThe id of the site. list_sites gives the ids of your sites.
slugrequiredstringThe skill's slug: lowercase letters, digits and hyphens, up to 64 characters, such as write-a-post.
confirmbooleantrue deletes it, after the owner said yes. Without it nothing is deleted and the answer is a warning.

Example

Call delete_skill with these arguments:

{
  "site_id": "01a1…",
  "slug": "write-a-post",
  "confirm": true
}

Ids like 01a1… stand for your own. list_sites and list_tables give you the real ones.

Related guides