SudoSOS Back-end API / events / parseUpdateEventRequestParameters
Function: parseUpdateEventRequestParameters() ​
ts
function parseUpdateEventRequestParameters(
req,
partial?,
id?): Promise<UpdateEventParams>;Parse the body of a request to an UpdateEventParams object
Parameters ​
| Parameter | Type | Default value | Description |
|---|---|---|---|
req | RequestWithToken | undefined | - |
partial | boolean | false | Whether all attributes are required or not |
id? | number | undefined | - |
Returns ​
Promise<UpdateEventParams>
Deprecated ​
Events are out of scope for SudoSOS. Delete from 01/11/2026.
Throws ​
Error - validation failed