Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 371 Bytes

File metadata and controls

21 lines (15 loc) · 371 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')
	.post(setCurrentLocation);