---
schema_version: "1"
id: 68fdaa12b42efbe6d83ca70e6f751ccd10fbcefcd53e062931ee1bfd5bbd2698
title: Assign a Task Related to a Primary Article
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/knowledge/guides/knowledge-rest-assign-article-master.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-knowledge-dev-guide/guide/knowledge-rest-assign-article-master.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3d9eddbd9f13aee38e2a92dc96e592a49e9fb9692189ab4bc04ed04273253bb3
products:
  - Salesforce Knowledge Developer Guide
  - Service Cloud Developer Content
---

# Assign a Task Related to a Primary Article

Assigns a task to a user for a primary article, including due date and instructions. The actions are defined by the field change you request on the resource.

## URI

```nolang
/services/data/v25.0/knowledgeManagement/articleVersions/masterVersions/<versionID>
```

## Formats

JSON, XML

## HTTP Method

PATCH

## Authentication

`Authorization: OAuth {accesstoken}`

## Parameters

| Parameter   | Description                                             |
| ----------- | ------------------------------------------------------- |
| assigneeId  | Assigns the primary article to a user ID or a queue ID. |
| dueDate     | Date that the task is due.                              |
| instruction | Instructions for the task.                              |

## Input

```nolang
{
    "assigneeId":"05Dxx0000dsads",
    "dueDate":"2012-04-19T07:00:00.000+0000",
    "instruction":"Please review."
    }
```

## Output

HTTP status code 204 is returned when an existing record is updated.
