Skip to content
Navigation

Update an installed action

Partial update of an install: name, its per-organization slug, and/or its saved config (deep-merged over the saved config: objects merge key by key, arrays and scalars replace, and null deletes a key; schema replaces whole, and a null inside it is kept). Addressed by id or slug. Authorization: organization administrators only. Returns 400 for a slug that is already taken in this organization.

PATCH
https://api.cloudraker.com/actions/{id}
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required

Request body JSON required

  • name
    optional
    string
    maxLength: 200 · minLength: 1
  • slug
    optional
    string

    Rename the per-organization slug. Must stay unique in the org.

    maxLength: 64 · minLength: 1 · pattern: ^[a-z0-9]+(-[a-z0-9]+)*$
  • config
    optional
    map of
    unknown

Returns

200

The updated install.

JSON
  • data
    object
    required
    • id
      string
      required
    • slug
      string
      required

      Per-organization slug; interchangeable with id wherever an action is named.

    • action
      string
      required

      Catalog entry this install came from.

    • name
      string
      required
    • config
      required

      Any of the following:

      • map<unknown>
      • null
    • revision
      integer
      required

      The number of the saved config. It starts at 1, and each save that changes config adds one. Runs record the revision they used.

      maximum: 9007199254740991 · minimum: 1
    • created_at
      string | null
      required
    • updated_at
      string | null
      required

Type to search…

↑↓ navigate↵ selectEsc close