文章 Delete Following REST 端点

URLs

DELETE api/v1/users/{followerid}/following/{followingid}.xml (or .json)

DELETE a follow for a user by user id.

DELETE api/v1/users/{followername}/following/{followingname}.xml (or .json)

DELETE a follow for a user by username.

请求参数

名称

类型

描述

必需

默认值

选项

FollowingId

int?

Either FollowingId or FollowingName is required.

是

FollowingName

string

Either FollowingId or FollowingName is required.

是

FollowerId

int?

Either FollowerId or FollowerName is required.

是

FollowerName

string

Either FollowerId or FollowerName is required.

是