POST/users/{userId}/tasks/{taskId}/move

Moves a task to a user's category.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

task

HTTP Request

POSThttps://www.worksapis.com/v1.0/users/{userId}/tasks/{taskId}/move

Path Parameters

ParameterTypeDescription
userId string 

User ID


required
example : userf7da-f82c-4284-13e7-030f3b4c756x 
taskId string 

Task ID


required
example : 4f9373d8-0e34-45b3-8b04-5459fad4e855 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Request Body

PropertyTypeDescription
toCategoryId string 

Destination category ID

 

Request Example

example

1{2  "toCategoryId": "6b943e91-9f5f-49fa-8fec-8921bc474a96"3}

Response

HTTP 200

OK