Skip to main content
Unfollow User
Removes the follow relationship between the authenticated user and the specified user. This is a convenience alternative to Delete Follow — it looks up the follow record by user ID rather than requiring the follow ID.
Requires the follows bundle. A project without the follows bundle returns 403 database/tables-not-available. See Bundles.

Path Parameters

string
required
The Sublay user ID (UUID) of the user to unfollow.

Query Parameters

string
Service key only, and required with one: the user this request acts as, who stops following the user in the path. A user token always acts as its own user and must not send it (400 follow/acting-user-not-allowed).

Response

On success, returns HTTP 204 with no body.

Error Responses

A service key sent no actingUserId.
A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.

See Also