Skip to content

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
}

Try it out

Loading...

Output:

Responses

Description

Rule status updated successfully

{
"success": false,
"message": "string",
"isActive": false
}

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