Summary
Assign a task to a user
Description
Assign a Task to a user.
Route
POST /operations-manager/tasks/:taskId/assign
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
| Name |
Type |
Required |
Description |
| taskId |
string |
yes |
The id of the Task iteration to be assigned. |
| userId |
string |
yes |
The identifier of the user to assign to the task |
Copied to Clipboard
{
"userId": "db10551b1ce8f8a13a085494"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"_id": "517cC9C8-69Ef-013f-Ee7f-acfB3D91a395",
"location": "Broker",
"view": "eiusmod adipisicing eu enim minim",
"status": "complete",
"app": "culpa anim Ut commodo",
"name": "cupidatat dolore",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~1/~0/M7bLMlmL+/~0/LS/j./jW/p,2/ieEaSW21/U9c3/F2aVRQe/jex7adl18/QQqqU"
},
{
"type": "encryption",
"pointer": "/LEB/N00/qVt3Tja"
},
{
"type": "encryption",
"pointer": "/k/5yRT33dT/L,tuIpl/QI,qUKIKo/x/~1/d2GQS/PZxTl+jQD/liKLydddWr/~1/IOUK+Bh.mre/fg"
}
]
},
"last_updated": "1985-11-20T10:29:50.691Z",
"encodingVersion": 1,
"job": {
"_id": "2d536ff578df2dcd065f5513",
"task": "b4f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
"8cb1747de8e280fdd3e4d845",
{
"_id": "8d4deb38546e49eb4ee16265",
"provenance": "pariatur Lorem eu",
"name": "anim ut laboris dolor",
"description": "ut mollit consequat elit",
"memberOf": [
{
"groupId": "f7765afc3cb9ccd452e5b227",
"aaaManaged": false
},
{
"groupId": "6a3e6f3b38ff36df716f3985",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "veniam ipsum"
},
{
"roleId": "officia commodo et qui laboris"
},
{
"roleId": "sed consequat"
}
],
"inactive": false,
"_meta": {
"created": "2009-05-07T12:41:44.844Z",
"updated": "1998-05-10T18:40:51.146Z",
"migrationVersion": 63585871
}
}
],
"type": "automatic",
"metrics": {
"start_time": "velit cillum commodo",
"end_time": -81009485.78598052,
"server_id": "Ut",
"finish_state": "canceled",
"run_time": -36657397.259026945,
"retrying": true,
"user": "5bff8df3d214b1e53e9a31e7",
"owner": {
"_id": "b7a851a97d1c8950dbbcbe86",
"provenance": "consectetur eu sunt",
"username": "minim do",
"firstname": "velit elit culpa nisi sit",
"memberOf": [
{
"groupId": "ee177f1c5501e7bd4f143f23",
"aaaManaged": true
},
{
"groupId": "c5d5ab9b5282c7effd33d9cf",
"aaaManaged": false
},
{
"groupId": "2b6eb884c241e0fef23e6ba8",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "ut amet"
}
],
"inactive": false,
"lastLogin": "1984-02-07T14:24:54.226Z",
"_meta": {
"created": "2024-06-10T22:41:49.223Z",
"updated": "2008-10-26T12:12:31.977Z",
"migrationVersion": 55014252
},
"email": "incididunt"
}
}
}
}