// This file is autogenerated, DO NOT EDIT
// Use `node scripts/generate-docs-examples.js` to generate the docs examples

[source, js]
----
const response = await client.transport.request({
  method: "PUT",
  path: "/_connector/my-connector/_last_sync",
  body: {
    last_access_control_sync_error: "Houston, we have a problem!",
    last_access_control_sync_scheduled_at: "2023-11-09T15:13:08.231Z",
    last_access_control_sync_status: "pending",
    last_deleted_document_count: 42,
    last_incremental_sync_scheduled_at: "2023-11-09T15:13:08.231Z",
    last_indexed_document_count: 42,
    last_sync_error: "Houston, we have a problem!",
    last_sync_scheduled_at: "2024-11-09T15:13:08.231Z",
    last_sync_status: "completed",
    last_synced: "2024-11-09T15:13:08.231Z",
  },
});
console.log(response);
----
