Update Social Media Button
Updates a social media button from the account
Authorization
default AuthorizationBearer <token>
Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys
In: header
Path Parameters
account*string
The Account ID
button_id*string
The ID of the social media button to update
Request Body
application/json
label*string
The new label for the button
Response Body
application/json
curl -X PUT "https://app.onlyfansapi.com/api/acct_XXXXXXXXXXXXXXX/settings/social-media-buttons/123" \ -H "Content-Type: application/json" \ -d '{ "label": "Instagram" }'{
"data": [
{
"id": 3384764,
"sort": 0,
"label": "new",
"username": "test",
"socialMedia": "instagram",
"link": "",
"url": "https://instagram.com/test",
"isValid": true,
"clicks": 0
},
{
"id": 3385711,
"sort": 1,
"label": "X",
"username": "test",
"socialMedia": "x",
"link": "",
"url": "https://twitter.com/test",
"isValid": true,
"clicks": 0
}
],
"_meta": {
"_credits": {
"used": 1,
"balance": 999999905,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 1000,
"limit_day": 50000,
"remaining_minute": 995,
"remaining_day": 49993
}
}
}