DELETE
/
api
/
v1
/
pinned-posts
/
communities
/
{communityId}
/
{placement}
Clear all pin posts in a community by placement
curl --request DELETE \
  --url https://apix.us.amity.co/api/v1/pinned-posts/communities/{communityId}/{placement} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

communityId
string
required
Maximum length: 900
placement
enum<string>
required
Available options:
default,
announcement

Response

200
application/json

OK

The response is of type object.