Enable sync for a workspace.
This endpoint is designed to be called from the web UI. It:
Returns immediately after sending the RPC request. The actual sync operation happens asynchronously on the machine.
Args: workspace_id: The workspace to enable sync for machine_id: Optional machine ID to target. If not provided, will use the first online machine that has this workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
The response is of type Response Enable Workspace Sync Api V1 Workspaces Workspace Id Sync Enable Post · object.