updateTaskById method

  1. @deprecated
Future<Task> updateTaskById({
  1. required String inlineTaskId,
  2. required TaskStatusUpdate body,
})

Updates an inline tasks status given its global ID

Permissions required: Permission to update the content associated with the task.

Implementation

@deprecated
Future<Task> updateTaskById(
    {required String inlineTaskId, required TaskStatusUpdate body}) async {
  return Task.fromJson(await _client.send(
    'put',
    'wiki/rest/api/inlinetasks/{inlineTaskId}',
    pathParameters: {
      'inlineTaskId': inlineTaskId,
    },
    body: body.toJson(),
  ));
}