POST/users/{userId}/alias-emails/{email}
ユーザーのサブメールアドレスを登録する。
最大 10 個まで登録できる。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
user
directory
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザーを特定する ID (URL エンコードする)
required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| string | サブメールアドレス (URL エンコードする)
required maxLength : 90 example : alias@example.com |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| aliasEmails | array (string) | サブメールアドレスリスト |
example
1{2 "aliasEmails": [3 "alias@example.com",4 "alias1@example.com"5 ]6}Bad Request
Not Found