Skip to content

Update Action

PATCH
/actions/{actionId}

Partially updates an Action’s mutable fields: name, type, and validity period. The targetResourceType cannot be changed after creation. Only provided fields are updated — omitted fields remain unchanged. The Space must be active.

actionId
required
string
X-Space-Id
required
string format: uuid

UUID of the target Space (tenant boundary). Validated against user access.

object
name

New name

string
Example
First aid training
type

New action type

string
Allowed values: training health check ppe maintenance
Example
health
validityValue

New validity duration value

number
>= 1
Example
3
validityUnit

New validity duration unit

string
Allowed values: year month day
Example
year

Unauthorized — missing or invalid JWT

Forbidden — insufficient permissions

Resource not found

Validation failed — invalid input