Skip to main content
PATCH
Updates one Action. This is where you set the inputSchema and outputSchema.
An action returns nothing to a rule unless it declares an outputSchema. For fields sourced from an external API call, set source: "apiResponse" and map each output field with path: "[stepId].[responseMappingKey]".

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.