Update an action definition
Patches a non-archived custom action definition. The slug is immutable; fields are validated against the definition’s kind (a mismatch is rejected, never silently dropped).
Authentication
AuthorizationBearer
WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.
Path parameters
id
Request
This endpoint expects an object.
name
description
icon
output
execution
generation
fill
Response
The updated definition.
definition
An arbitrary JSON object.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error