Unfollow by Follow ID
Endpoint
URL: api.replyke.com/api/v6/:projectId/follows/:followId
Method: DELETE
Authentication Required: Yes
Description
Remove a specific follow relationship by its ID.
Request
Path Parameters
Parameter | Type | Required | Description |
---|---|---|---|
followId | string | Yes | ID of the follow relationship to remove |
Headers
Header | Type | Required | Description |
---|---|---|---|
Authorization | string | Yes | Bearer token for authentication. |
Body Parameters
None
Example Request
DELETE api.replyke.com/api/v6/your-project-id/follows/follow-uuid-123
Authorization: Bearer <ACCESS_TOKEN>
Response
Success Response (200 OK)
{
"message": "Follow removed successfully."
}
Error Responses
Invalid Follow ID (400 Bad Request)
{
"error": "Invalid followId",
"code": "follow/invalid-follow-id"
}
Unauthorized (403 Forbidden)
{
"error": "Unauthorized (not your follow relationship)",
"code": "follow/unauthorized"
}
Follow Not Found (404 Not Found)
{
"error": "Follow relationship not found",
"code": "follow/not-found"
}
Server Error (500 Internal Server Error)
{
"error": "Internal server error",
"code": "follow/server-error"
}
Notes
- Requires authentication
- User can only remove their own follow relationships
- Returns success message on successful removal
- Use this endpoint when you have the specific follow ID
- Alternative: Use
DELETE api.replyke.com/api/v6/:projectId/users/:userId/follow
when you know the user ID - Rate limiting: 75 requests per 5 minutes