Skip to main content
FollowersVersion: v3

Remove Followers

DEL/opportunities/{id}/followers

Removes followers from an opportunity. Ids that are not followers are ignored; followersRemoved lists the ones removed. To remove every follower, set isRemoveAllFollowers=true; the request body is then not needed. To read the followers, get the opportunity (GET /opportunities/{id}) and use its followers field.

Authorizations

Authorizationstringheaderrequired

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

Scope:opportunities.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version. Send v3.

Available optionsv3
Example:v3

Path Parameters

idstringrequired

Opportunity Id

Example:sx6wyHhbFdRXh302Lunr

Query Parameters

isRemoveAllFollowersboolean

Set to true to remove all followers from the opportunity

Example:false

Body

followersstring[]

User ids to remove as followers (max 10). Ids that are not followers are ignored. Not needed when isRemoveAllFollowers is true.

Example:["sx6wyHhbFdRXh302Lunr"]

Response

Followers successfully removed.

followersstring[]

Current list of all follower user IDs after the operation

Example:["sx6wyHhbFdRXh302Lunr","sx6wyHhbFdRXh302LLss"]
followersRemovedstring[]

User IDs that were successfully removed as followers

Example:["Mx6wyHhbFdRXh302Luer","Ka6wyHhbFdRXh302LLsAm"]