POST/users/{userId}/task-categories
ユーザーにタスクのカテゴリーを登録する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
task
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザー ID required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| categoryName | string | タスクカテゴリー作成 |
example
1{2 "categoryName": "カテゴリー 1234"3}OK
| Property | Type | Description |
|---|---|---|
| categoryId | string | ユーザーのタスクカテゴリー ID (既定のカテゴリー: |
| categoryName | string | ユーザーのタスクカテゴリー名 |
example
1{2 "categoryId": "6b943e91-9f5f-49fa-8fec-8921bc474a96",3 "categoryName": "カテゴリー 1234"4}