Optional
errorOptional
onCallback to run on success
Callback to run on success
A function that shows a toast message (required)
A function that shows a toast message (required)
Optional
successA message to show when the api call is successful
Generated using TypeDoc
A function that returns the error message to show when the api call fails