Post Labels
Remove Post from Label
Takes one post off a label. The post itself is untouched — only the association goes. There is no bulk remove, so this is one post per call. Requires permission api_post_labels_remove_post.
https://public-api.fansmetric.comDELETE/v1/{account_id}/post-labels/{label_id}/posts/{post_id}
Bearer
Authorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
label_id*integerThe label to remove from. Numeric.
post_id*integerThe post to remove. Numeric.
Response Fields
dataobjectThe label after the change —
id,name,type, the refreshedpostsCountand its preview strip._meta._credits.usedintegerCredits consumed by this request (currently always
1)._meta._rate_limits.limit_minuteintegerMaximum requests per minute for the organization.
_meta._rate_limits.remaining_minuteintegerRemaining requests in the current minute window.
_meta._rate_limits.limit_dayintegerMaximum requests per day for the organization.
_meta._rate_limits.remaining_dayintegerRemaining requests in the current day window.
| Field | Type | Description |
|---|---|---|
| data | object | The label after the change — id, name, type, the refreshed postsCount and its preview strip. |
| _meta._credits.used | integer | Credits consumed by this request (currently always 1). |
| _meta._rate_limits.limit_minute | integer | Maximum requests per minute for the organization. |
| _meta._rate_limits.remaining_minute | integer | Remaining requests in the current minute window. |
| _meta._rate_limits.limit_day | integer | Maximum requests per day for the organization. |
| _meta._rate_limits.remaining_day | integer | Remaining requests in the current day window. |
curl --request DELETE "https://public-api.fansmetric.com/v1/100000001/post-labels/sample_label_id/posts/sample_post_id" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200{
"data":{
"id":9895427
"name":"Photo sets"
"type":"custom"
"isClearInProgress":false
"postsCount":1
"posts":[
0:{
"type":"photo"
"canViewMedia":true
"postId":"2661473796"
"url":"https://public-api.fansmetric.com/media-proxy?url=...&exp=...&sig=..."
}
]
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":999
"limit_day":50000
"remaining_day":49999
}
}
}