Skip to main content

Remove Follower

DELETE /:name/follower

Description

Removes a follower from the authenticated account. This route only works when the authenticated account is private.

Request Parameters

Requires Authentication: true

PATH PARAMS

NameTypeRequiredDescription
namestringYesUsername of the follower to remove.

Usage Example

await axios.delete("https://api.daykeeper.app/johndoe/follower", {
headers: {
Authorization: `Bearer ${accessToken}`,
},
})

Success Response

{
"message": "johndoe's follow removed successfully"
}

Error Response

CodeDescription
401Missing or invalid access token
402Target user is banned
403Account is not private
404User not found or does not follow you
500Server error