Delete Selected Skill
curl --request DELETE \
--url https://api.example.com/v1/api/selected-skills/{selected_skill_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/v1/api/selected-skills/{selected_skill_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/v1/api/selected-skills/{selected_skill_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/api/selected-skills/{selected_skill_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/api/selected-skills/{selected_skill_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.example.com/v1/api/selected-skills/{selected_skill_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/api/selected-skills/{selected_skill_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Selected skill deleted successfully"
}
{
"success": false,
"message": "Selected skill not found"
}
Selected Skills
Delete Selected Skill
Remove a skill from a user’s profile. This can’t be undone.
DELETE
/
api
/
selected-skills
/
{selected_skill_id}
Delete Selected Skill
curl --request DELETE \
--url https://api.example.com/v1/api/selected-skills/{selected_skill_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/v1/api/selected-skills/{selected_skill_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/v1/api/selected-skills/{selected_skill_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/v1/api/selected-skills/{selected_skill_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/v1/api/selected-skills/{selected_skill_id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.example.com/v1/api/selected-skills/{selected_skill_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/api/selected-skills/{selected_skill_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Selected skill deleted successfully"
}
{
"success": false,
"message": "Selected skill not found"
}
Deletes a selected skill record. Once it’s gone, it’s gone — there’s no soft delete or recovery here.
No authentication needed.
Path Parameters
string
required
The UUID of the selection record you want to remove.This is not the
skill_id. It’s the selected_skill_id that was returned when you called POST /api/selected-skills. If you don’t have it, fetch the user’s selected skills first to find it.Response
boolean
true when something was actually deletedstring
Confirmation or error message
Examples
curl -X DELETE \
"http://localhost:5000/api/selected-skills/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
const res = await fetch(
"http://localhost:5000/api/selected-skills/a1b2c3d4-e5f6-7890-abcd-ef1234567890",
{ method: "DELETE" }
);
const data = await res.json();
import requests
res = requests.delete(
"http://localhost:5000/api/selected-skills/a1b2c3d4-e5f6-7890-abcd-ef1234567890"
)
print(res.json())
{
"success": true,
"message": "Selected skill deleted successfully"
}
{
"success": false,
"message": "Selected skill not found"
}
Make sure you’re using
selected_skill_id, not skill_id.These are two different things. skill_id identifies a skill in the catalogue. selected_skill_id identifies the record of a specific user having selected that skill. It’s the UUID in the data object from the POST response.If you pass a skill_id here by accident, you’ll just get a 404.⌘I

