Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 487 Bytes

File metadata and controls

23 lines (17 loc) · 487 Bytes
description Automatically generated file. DO NOT MODIFY
const options = {
	authProvider,
};

const client = Client.init(options);

const temporaryAccessPassAuthenticationMethod = {
    startDateTime: '2022-06-05T00:00:00.000Z',
    lifetimeInMinutes: 60,
    isUsableOnce: false
};

await client.api('/users/071cc716-8147-4397-a5ba-b2105951cc0b/authentication/temporaryAccessPassMethods')
	.version('beta')
	.post(temporaryAccessPassAuthenticationMethod);