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