コンテンツにスキップ

/v0/accounts/:name/follow (DELETE)

DELETE
/v0/accounts/:name/follow
curl --request DELETE \
--url http://localhost:3000/v0/accounts/:name/follow \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"example"'
name
required

Characters must be [A-Za-z0-9-.] The first and last characters must be [A-Za-z0-9-.]

string
>= 3 characters <= 64 characters
Example
example_man

Characters must be [A-Za-z0-9-.] The first and last characters must be [A-Za-z0-9-.]

Media type application/json
Example generated
example

No Content

Bad request

Media type application/json

You are not following specified account.

object
error
required

You are not following this account.

string
Allowed values: YOU_ARE_NOT_FOLLOWING
Example
{
"error": "YOU_ARE_NOT_FOLLOWING"
}

Not Found

Media type application/json

Account not found

object
error
required

Account not found.

string
Allowed values: ACCOUNT_NOT_FOUND
Example
{
"error": "ACCOUNT_NOT_FOUND"
}

Internal Server Error

Media type application/json
object
error
required

Internal server error.

string
Allowed values: INTERNAL_ERROR
Example
{
"error": "INTERNAL_ERROR"
}