Skip to main content
Perplexity

Search documentation

Type to search this documentation.

Delete a skill

DELETE

/

v1

/

skills

/

Delete a skill

curl --request DELETE \
  --url https://api.perplexity.ai/v1/skills/{skill_id} \
  --header 'Authorization: Bearer <token>'
title="400"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="404"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="409"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="429"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}
title="502"
{
  "error": {
    "message": "<string>",
    "type": "<string>",
    "code": 123,
    "param": "<string>"
  }
}

Authorization

string

header

required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

skill_id

string

required

Skill identifier returned by create or GET /v1/skills

expected_revision

string

required

Opaque revision token the skill must currently be at. The write applies only if it matches, so it cannot race a concurrent update.

Skill deleted

Was this page helpful?

⌘I

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu