POST/users/{userId}/contact-tags
指定ユーザーの連絡先タグを登録する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
contact
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザーを特定する ID
required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| contactTagName | string | タグ名 required maxLength : 30 |
example
1{2 "contactTagName": "user tag"3}OK
| Property | Type | Description |
|---|---|---|
| contactTagId | string | 連絡先タグ ID readOnly : true |
| contactTagName | string | タグ名 required maxLength : 30 |
| type | string | タグタイプ
Allowed values : COMPANY, USER readOnly : true |
| userId | string | マイタグの作成者
readOnly : true |
example
1{2 "contactTagId": "ctaguser-94b6-4642-6903-03aa7977da69",3 "contactTagName": "user tag",4 "type": "USER"5}Bad Request
Forbidden