Openapi
Update a task for the specified organization.
sb-auth-token<token>Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
organizationId*stringuuidtaskId*stringuuidThe task payload.
application/jsonassigneeIds?array<>items <= 50customerAssetId?|uuidcustomerId?|uuiddescription?|length <= 20000dueAt?|date-timeendAt?|date-timeparentTaskId?|nullpriority?string"low""medium""high""urgent"startAt?|date-timestatus?string"todo""in_progress""on_hold""done"tagIds?array<>items <= 50taskTemplateId?|uuidtitle*string1 <= length <= 240Returns the updated task.
application/jsonarchivedAt*|date-timeassignees*array<>createdAt*stringdate-timecreatedBy*|uuidcustomerAssetId*|uuidcustomerId*|uuiddescription*string|nulldisplayNumber*taskDisplayNumberSchema1 <= length <= 40dueAt*|date-timeendAt*|date-timeid*taskIdSchemauuidnumber*taskNumberSchema0 < value <= 9007199254740991organizationId*stringuuidparentTaskId*|nullposition*numberpriority*taskPrioritySchema"low""medium""high""urgent"startAt*|date-timestatus*taskStatusSchema"todo""in_progress""on_hold""done"tags*array<>taskTemplateId*|uuidtitle*stringupdatedAt*stringdate-timeupdatedBy*|uuidcurl -X PATCH 'https://app.localhost/api/v1/organizations/123/tasks/123' \ -H 'Content-Type: application/json' \ -d '{ "title": "string"}'{ "archivedAt": "2019-08-24T14:15:22Z", "assignees": [ { "avatarUrl": "http://example.com", "disabledAt": "string", "displayName": "string", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b" } ], "createdAt": "2019-08-24T14:15:22Z", "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e", "customerAssetId": "d12281c5-3059-45a8-816e-9d8b79f0d9c8", "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac", "description": "string", "displayNumber": "string", "dueAt": "2019-08-24T14:15:22Z", "endAt": "2019-08-24T14:15:22Z", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "number": 1, "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "parentTaskId": "2506db93-67fe-4ab8-a809-f4aa6ed8a0f4", "position": 0, "priority": "low", "startAt": "2019-08-24T14:15:22Z", "status": "todo", "tags": [ { "color": "string", "createdAt": "2019-08-24T14:15:22Z", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "task", "name": "string", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "position": 0, "slug": "string", "updatedAt": "2019-08-24T14:15:22Z" } ], "taskTemplateId": "0bace236-fe21-4c91-8146-4a71f4b64090", "title": "string", "updatedAt": "2019-08-24T14:15:22Z", "updatedBy": "b0efe45f-0520-4e21-90f0-7e35f137732e"}