| description | Automatically generated file. DO NOT MODIFY |
|---|
const options = {
authProvider,
};
const client = Client.init(options);
const decline = {
message: 'Sorry, you can\'t offer this shift.'
};
await client.api('/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId}/decline')
.version('beta')
.post(decline);