Actions14
- Business Actions
- Campaign Claim Actions
- Files Actions
- Redemption Actions
- Token Actions
- User Actions
Business → Toggle Status
AI-generatedSummary
Activates or deactivates a PERS business account and optionally sets its permission flags via a PUT to /businesses/{businessId}/status.
Inputs
- businessId (required) — UUID of the business to update. Used in the request URL, not the body.
- isActive (required) — Boolean for whether the business account is active. Defaults to true. Sent in the body.
- permissions — Optional collection of boolean flags: Can Charge Token, Can Manage Users, Can Mint Token, Can Receive Donation. Only the flags you add are sent, merged into the body alongside isActive. Omitted flags are not sent.
Output shape
One output item per input item. Its json is the PERS API's JSON response to the status update, paired to the input item.
The source doesn't define the response fields, so they depend on the API. If Continue On Fail is enabled, a failed item returns json with an error message instead of stopping the run. The call uses the persApi credential, and the credential's environment value is the base URL.
Examples
Example 1: Deactivate a business account
Business ID = the business UUID, Is Active = false, no permissions added.
Example 2: Reactivate a business and restrict what it can do
Is Active = true; Permissions: Can Mint Token = false, Can Manage Users = false.