Skip to main content
PATCH
Update action
Updates one Action. This is where you set the inputSchema and outputSchema.
An action returns nothing to a rule unless it declares an outputSchema. Set it here and map each output field to a Data Step response path.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Path parameters

string
required
Action ID to update.

Body parameters

All fields are optional. Send only what you want to change.
string
Updated display name.
string
Updated description.
boolean
Send true to convert the action into an attribute.
InputSchemaField[]
Typed inputs. See InputSchemaField.
OutputSchemaField[]
Typed outputs. See OutputSchemaField.

Response

Returns the updated Action / Attribute.

Errors

The body is malformed.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope required for this route.
No action with that ID exists in your workspace.
Fini failed while updating the record in storage.