curl -X DELETE "https://api.hooked.so/v1/social/search/clx123abc" \
-H "x-api-key: your_api_key_here"
const response = await fetch('https://api.hooked.so/v1/social/search/clx123abc', {
method: 'DELETE',
headers: {
'x-api-key': 'your_api_key_here'
}
});
const data = await response.json();
if (data.success) {
console.log('Search deleted successfully');
}
import requests
response = requests.delete(
'https://api.hooked.so/v1/social/search/clx123abc',
headers={'x-api-key': 'your_api_key_here'}
)
if response.json()['success']:
print('Search deleted successfully')
{
"success": true,
"message": "Search deleted successfully",
"data": {
"id": "clx123abc",
"deleted": true
}
}
Social Search
Delete Search
Delete a saved search and its associated videos
DELETE
/
v1
/
social
/
search
/
{searchId}
curl -X DELETE "https://api.hooked.so/v1/social/search/clx123abc" \
-H "x-api-key: your_api_key_here"
const response = await fetch('https://api.hooked.so/v1/social/search/clx123abc', {
method: 'DELETE',
headers: {
'x-api-key': 'your_api_key_here'
}
});
const data = await response.json();
if (data.success) {
console.log('Search deleted successfully');
}
import requests
response = requests.delete(
'https://api.hooked.so/v1/social/search/clx123abc',
headers={'x-api-key': 'your_api_key_here'}
)
if response.json()['success']:
print('Search deleted successfully')
{
"success": true,
"message": "Search deleted successfully",
"data": {
"id": "clx123abc",
"deleted": true
}
}
Overview
This endpoint permanently deletes a saved search and all its associated video data.Path Parameters
string
required
The internal search ID to delete
Response
boolean
Indicates if the request was successful
string
Status message
curl -X DELETE "https://api.hooked.so/v1/social/search/clx123abc" \
-H "x-api-key: your_api_key_here"
const response = await fetch('https://api.hooked.so/v1/social/search/clx123abc', {
method: 'DELETE',
headers: {
'x-api-key': 'your_api_key_here'
}
});
const data = await response.json();
if (data.success) {
console.log('Search deleted successfully');
}
import requests
response = requests.delete(
'https://api.hooked.so/v1/social/search/clx123abc',
headers={'x-api-key': 'your_api_key_here'}
)
if response.json()['success']:
print('Search deleted successfully')
{
"success": true,
"message": "Search deleted successfully",
"data": {
"id": "clx123abc",
"deleted": true
}
}
This action is permanent and cannot be undone. All associated video data will be deleted.
You can only delete searches that belong to your team. Attempting to delete another team’s search will result in a 403 Forbidden error.