curl --request DELETE \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"success": true,
"counters": {
"audiosCount": 123,
"photosCount": 123,
"videosCount": 123,
"mediasCount": 123,
"postsCount": 123,
"streamsCount": 123,
"archivedPostsCount": 123
}
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999989,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 999,
"remaining_day": 49987
}
}
}
Delete a post from your account.
curl --request DELETE \
--url https://app.onlyfansapi.com/api/{account}/posts/{post_id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"success": true,
"counters": {
"audiosCount": 123,
"photosCount": 123,
"videosCount": 123,
"mediasCount": 123,
"postsCount": 123,
"streamsCount": 123,
"archivedPostsCount": 123
}
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999989,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 999,
"remaining_day": 49987
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
Success
The response is of type object
.