コンテンツにスキップ

/accounts/:name/avatar (POST)

POST
/accounts/:name/avatar

Authorizations

Parameters

Path Parameters

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_man

Request Body

object
medium_id
required

Medium ID

string
38477395

Responses

204

No Content

403

Forbidden

You can not do this action.

object
error
required

You can’t do this action.

string
Allowed values: NO_PERMISSION

404

Not Found

Account not found

object
error
required
Any of:

Account not found.

string
Allowed values: ACCOUNT_NOT_FOUND

500

Internal Server Error

object
error
required

Internal server error.

string
Allowed values: INTERNAL_ERROR