Skip to main content
Update an action in the Application

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

applicationId
string<uuid>
required
actionId
string
required
Pattern: ^urn:sutro:action:.*$

Body

application/json

The action fields to update

id
string
required

A unique identifier for the action. Must start with "urn:sutro:action:".

Pattern: ^urn:sutro:action:
effects
object[]
required
startEffectId
string
required

The ID of the first effect to execute

bindReturnValue
string
onError
object

Response

The updated application

An application

id
string<uuid>
required

Unique identifier for the application

scode
SCode representation of an Application · object
required

The application's SCode definition

projectId
string<uuid>
required

The project this application belongs to

status
object
required
isActive
boolean
required

Whether the application is currently active for billing/runtime purposes

name
string

The name of the application

serverVersion
string

The current saved server version (semver)

lastPublishedAt
string<date-time>

When the application was last published

lastUnpublishedAt
string<date-time>

When the application was last unpublished