Unpin a post
curl --request DELETE \
--url https://api.fanvue.com/v1/posts/{uuid}/pin \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/posts/{uuid}/pin"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/posts/{uuid}/pin', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T12:00:00.000Z",
"text": "Updated post content!",
"price": null,
"audience": "followers-and-subscribers",
"publishAt": null,
"publishedAt": "2025-01-01T12:00:00.000Z",
"expiresAt": null,
"mediaUuids": [
"a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6"
],
"mediaPreviewUuid": null,
"isPinned": true,
"likesCount": 42,
"commentsCount": 15,
"tips": {
"count": 8,
"totalGross": 5000,
"totalNet": 4250
},
"collections": [
{
"uuid": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"label": "Behind the Scenes"
}
],
"poll": null
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Posts
Unpin a post
Unpin a post so it returns to normal feed ordering. Only the post owner can unpin their own content.
DELETE
/
v1
/
posts
/
{uuid}
/
pin
Unpin a post
curl --request DELETE \
--url https://api.fanvue.com/v1/posts/{uuid}/pin \
--header 'Authorization: Bearer <token>' \
--header 'X-Fanvue-API-Version: <x-fanvue-api-version>'import requests
url = "https://api.fanvue.com/v1/posts/{uuid}/pin"
headers = {
"X-Fanvue-API-Version": "<x-fanvue-api-version>",
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'X-Fanvue-API-Version': '<x-fanvue-api-version>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.fanvue.com/v1/posts/{uuid}/pin', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2025-01-01T12:00:00.000Z",
"text": "Updated post content!",
"price": null,
"audience": "followers-and-subscribers",
"publishAt": null,
"publishedAt": "2025-01-01T12:00:00.000Z",
"expiresAt": null,
"mediaUuids": [
"a1b2c3d4-5e6f-7g8h-9i0j-k1l2m3n4o5p6"
],
"mediaPreviewUuid": null,
"isPinned": true,
"likesCount": 42,
"commentsCount": 15,
"tips": {
"count": 8,
"totalGross": 5000,
"totalNet": 4250
},
"collections": [
{
"uuid": "d1e2f3a4-b5c6-7890-abcd-ef1234567890",
"label": "Behind the Scenes"
}
],
"poll": null
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"message": "<string>"
}{
"error": "<string>",
"message": "<string>",
"nextVersion": "<string>"
}{
"error": "Too many requests",
"rateLimit": {
"scope": "app",
"layer": "<string>",
"limit": 123,
"windowSeconds": 123,
"retryAfterSeconds": 123,
"docs": "<string>"
}
}Required scope
write:post— Create, edit, and manage posts and content on behalf of users.
Authorizations
Headers
Response
Post unpinned successfully
Was this page helpful?