Unpublish Skill
curl --request POST \
--url https://api.agentpowers.ai/v1/skills/{slug}/unpublish \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentpowers.ai/v1/skills/{slug}/unpublish"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentpowers.ai/v1/skills/{slug}/unpublish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"slug": "<string>",
"message": "<string>",
"archived_at": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}skills
Unpublish Skill
Unpublish (archive) a skill. Owner-only. Reversible via republish.
POST
/
v1
/
skills
/
{slug}
/
unpublish
Unpublish Skill
curl --request POST \
--url https://api.agentpowers.ai/v1/skills/{slug}/unpublish \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentpowers.ai/v1/skills/{slug}/unpublish"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentpowers.ai/v1/skills/{slug}/unpublish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"slug": "<string>",
"message": "<string>",
"archived_at": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Was this page helpful?