PATCH/invocations/{id}

Update an invocation's status or output. This can be used to cancel an invocation by setting the status to "failed".

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Invocation ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for updating an invocation.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/invocations/string" \  -H "Content-Type: application/json" \  -d '{    "status": "succeeded"  }'
{  "id": "string",  "app_name": "string",  "version": "string",  "action_name": "string",  "payload": "string",  "output": "string",  "started_at": "2019-08-24T14:15:22Z",  "finished_at": "2019-08-24T14:15:22Z",  "status": "queued",  "status_reason": "string"}