PUT /underwriting/auto-approval-rules/{id}/toggle
Toggle rule active status
Activate or deactivate an auto-approval rule
Required Parameters
id
path string Rule ID
Request Body
{ "isActive": false}{ "isActive": false, "reason": "string"}Try it out
Loading...
Output:
Responses
Description
Rule status updated successfully
{ "success": false, "message": "string", "isActive": false}Description
Insufficient permissions
Description
Rule not found
Route Source Code
Check out the source code for this route entrypoint here: /underwriting/auto-approval-rules/[id]/toggle/route.ts
Or the swagger.yaml spec this documentation was generated from:
/underwriting/auto-approval-rules/swagger.yaml