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": "6cbcb147ed75b8ce0cb7b4ca"
}
Return
DetailsExampleSchema
| Name |
Type |
Description |
| result |
object |
The result of the assign operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"_id": "F7acBEeB-4463-DaEa-7886-C2dF18be80Cc",
"location": "Application",
"view": null,
"status": "running",
"app": "incididunt est in ex",
"name": "ea in eu proident ut",
"variables": {
"decorators": [
{
"type": "encryption",
"pointer": "/~0/~1/~0/~0/~0"
},
{
"type": "encryption",
"pointer": "/xVLc5g/~0/~1/~0/~0"
}
]
},
"last_updated": "1972-06-19T12:49:37.018Z",
"encodingVersion": 1,
"job": {
"_id": "55debdcea8380748ca09a707",
"task": "e28f",
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"ancestors": null
},
"incomingRefs": [],
"groups": [
{
"_id": "38b89891669a7c331887ddd4",
"provenance": "sit",
"name": "est amet",
"description": "dolore consequat exercitation",
"memberOf": [
{
"groupId": "3a8463d9dff23d8a6c43e662",
"aaaManaged": true
}
],
"assignedRoles": [
{
"roleId": "irure velit amet Ut in"
},
{
"roleId": "proident"
}
],
"inactive": true,
"_meta": {
"created": "1965-05-30T05:06:01.201Z",
"updated": "1948-08-04T06:55:54.759Z",
"migrationVersion": 83941338
}
},
"1191af59bb12bd181681b2b9",
"adfd76043f868b491371f764",
{
"_id": "dbab94095cfe27e6b5342a83",
"provenance": "elit in proident commodo esse",
"name": "consectetur enim velit anim",
"description": "irure ut dolor mollit minim",
"memberOf": [
{
"groupId": "1db4e3d3bff6fd49c1ce4232",
"aaaManaged": true
},
{
"groupId": "288ad9cb2b7733ab31d8136b",
"aaaManaged": true
},
{
"groupId": "fa2562b271a96c66f7e6d856",
"aaaManaged": false
}
],
"assignedRoles": [
{
"roleId": "id nostrud Lorem magna aute"
},
{
"roleId": "culpa tempor elit dolor"
},
{
"roleId": "mollit sit in sed"
},
{
"roleId": "adipisicing quis ut nulla aliquip"
}
],
"inactive": false,
"_meta": {
"created": "1949-03-11T02:05:34.852Z",
"updated": "2003-11-13T01:51:57.132Z",
"migrationVersion": 34533361
}
},
"6e91bdd419e4b8eea890f16b"
],
"type": "automatic",
"metrics": {
"start_time": "incididunt",
"end_time": 15342914.005368784,
"server_id": "Excepteur consectetur ullamco ut Ut",
"finish_state": "running",
"run_time": 40991477.75412014,
"retrying": null,
"user": "",
"owner": ""
}
}
}