curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-H 'Profile-Key: PROFILE_KEY' \
-X DELETE https://api.ayrshare.com/api/profiles
{
"status": "success",
"refId": "823nd82nd92jsnn2932"
}
Available on Business, Enterprise plans.
Delete a user profile you are the owner of. The Profile Key in the header parameter is the User Profile to be deleted.
Deleting a User Profile deletes all referenced posts and is irrevocable - cannot be undone.
API Key of the Primary Profile.
Format:
Authorization: Bearer API_KEY
Profile Key of a User Profile.
Format:
Profile-Key: PROFILE_KEY
Body Parameters
title
string
default:"0"
required
Title of the User Profile to delete. Must be present if profileKey
is not passed. title
is case-sensitive and must match the User Profile title.
curl \
-H "Authorization: Bearer API_KEY" \
-H 'Content-Type: application/json' \
-H 'Profile-Key: PROFILE_KEY' \
-X DELETE https://api.ayrshare.com/api/profiles
{
"status": "success",
"refId": "823nd82nd92jsnn2932"
}