コンテンツにスキップ

/accounts

POST
/accounts

Request Body

object
name
required

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

string
>= 1 characters <= 64 characters
email
required
string format: email
passphrase
required

Passphrase must be a UTF-8 string excluding spaces, tabs, full-width spaces, newlines, and null characters.

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

Captcha token (e.g. reCAPTCHA, Cloudflare Trunstile)

string

Responses

200

OK

object
id
required

Account ID

string
38477395
name
required

Account name

string
email
required

Account email address

string format: email

400

Bad Request

object
error
required
Any of:

Account name is invalid.

string
Allowed values: INVALID_ACCOUNT_NAME

409

Conflict

object
error
required
Any of:

Account email is already in use.

string
Allowed values: EMAIL_IN_USE

500

Internal Server Error

object
error
required

Internal server error.

string
Allowed values: INTERNAL_ERROR