Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 452 Bytes

File metadata and controls

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

const client = Client.init(options);

const approveForUser = {
  message: 'Approved!',
  userId: 'd2e7b5b2-0355-4c73-a543-08847b5b0884'
};

await client.api('/teams/8f23a3b1-b87f-4a62-b38f-24a5fa83fa29/schedule/timeOffRequests/SREQ_bb7af804-9ca1-48d7-9a0c-aa5a9f447d3c/approveForUser')
	.version('beta')
	.post(approveForUser);