Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 389 Bytes

File metadata and controls

22 lines (16 loc) · 389 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const setCurrentLocation = {
  updateScope: 'currentSegment',
  workLocationType: 'remote'
};

await client.api('/me/settings/workHoursAndLocations/occurrences/setCurrentLocation')
	.version('beta')
	.post(setCurrentLocation);