コンテンツにスキップ

/accounts/:name

PATCH
/accounts/:name

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
nickname

Nickname

string
>= 1 characters <= 256 characters
email

Email address

string format: email
passphrase

Passphrase

string
>= 8 characters <= 512 characters
じゃすた・いぐざんぽぅ
bio
required

Biography

string
<= 1024 characters

Responses

200

OK

object
id
required

Account ID

string
38477395
name
required

Account name

string
nickname
required

Account nickname

string
John Doe
bio
required

Biography

string
<= 1024 characters
email
required

Account email address

string format: email

202

When email updated

object
id
required

Account ID

string
38477395
name
required

Account name

string
nickname
required

Account nickname

string
John Doe
bio
required

Biography

string
<= 1024 characters
email
required

Account email address

string format: email

400

Bad Request

object
error
required
Any of:

Contains unusable character types in parameters.

string
Allowed values: INVALID_SEQUENCE

404

Not Found

Account not found

object
error
required

Account not found.

string
Allowed values: ACCOUNT_NOT_FOUND

412

Precondition Failed

Etag is invalid

object
error
required

ETag is invalid.

string
Allowed values: INVALID_ETAG

500

Internal Server Error

object
error
required

Internal server error.

string
Allowed values: INTERNAL_ERROR