Update

Update

Updates the action with the new supplied state

Request
URI
PUT
https://vra-interop-222-139.lvn.broadcom.net/abx/api/resources/actions/{id}
COPY
Path Parameters
string
id
Required

ID of the action


Request Body
Action of type(s) application/json
Required

Show optional properties

{
    "name": "string",
    "runtime": "string",
    "entrypoint": "string",
    "actionType": "string",
    "orgId": "string"
}
{
    "name": "string",
    "metadata": {
        "metadata": {}
    },
    "runtime": "string",
    "source": "string",
    "entrypoint": "string",
    "description": "string",
    "inputs": {
        "inputs": {}
    },
    "memoryInMB": 0,
    "prePolyglotMemoryLimitInMB": 0,
    "showMemoryAlert": false,
    "timeoutSeconds": 0,
    "dependencies": "string",
    "compressedContent": "string",
    "actionType": "string",
    "provider": "string",
    "contentId": "string",
    "configuration": {
        "configuration": {}
    },
    "system": false,
    "shared": false,
    "scalable": false,
    "asyncDeployed": false,
    "runtimeVersion": "string",
    "id": "string",
    "orgId": "string",
    "projectId": "string",
    "selfLink": "string"
}
string As ^\S$|^\S(.){0,253}\S$
name
Required

name

object
metadata
Optional

metadata

string
runtime
Required

runtime

string
source
Optional
Constraints: minLength: 0 maxLength: 128000

source

string
entrypoint
Required
Constraints: minLength: 0 maxLength: 255

entrypoint

string
description
Optional
Constraints: minLength: 0 maxLength: 2000

description

object
inputs
Optional

inputs

integer As int32 As int32
memoryInMB
Optional

memoryInMB

integer As int32 As int32
prePolyglotMemoryLimitInMB
Optional

prePolyglotMemoryLimitInMB

boolean
showMemoryAlert
Optional

showMemoryAlert

integer As int32 As int32
timeoutSeconds
Optional

timeoutSeconds

string
dependencies
Optional
Constraints: minLength: 0 maxLength: 10000

dependencies

string As byte As byte
compressedContent
Optional

compressedContent

string
actionType
Required

actionType

Possible values are : SCRIPT, REST_CALL, REST_POLL, FLOW, VAULT, CYBERARK,
string
provider
Optional

provider

string
contentId
Optional

contentId

object
configuration
Optional

configuration

boolean
system
Optional

system

boolean
shared
Optional

shared

boolean
scalable
Optional

scalable

boolean
asyncDeployed
Optional

asyncDeployed

string
runtimeVersion
Optional

runtimeVersion

string
id
Optional

id

string
orgId
Required

orgId

string
projectId
Optional

projectId

string
selfLink
Optional

selfLink

Authentication
This operation uses the following authentication methods.
Responses
200

Action updated

Returns Action of type(s) */*
"Action Object"
string As ^\S$|^\S(.){0,253}\S$
name
Required

name

object
metadata
Optional

metadata

string
runtime
Required

runtime

string
source
Optional
Constraints: minLength: 0 maxLength: 128000

source

string
entrypoint
Required
Constraints: minLength: 0 maxLength: 255

entrypoint

string
description
Optional
Constraints: minLength: 0 maxLength: 2000

description

object
inputs
Optional

inputs

integer As int32 As int32
memoryInMB
Optional

memoryInMB

integer As int32 As int32
prePolyglotMemoryLimitInMB
Optional

prePolyglotMemoryLimitInMB

boolean
showMemoryAlert
Optional

showMemoryAlert

integer As int32 As int32
timeoutSeconds
Optional

timeoutSeconds

string
dependencies
Optional
Constraints: minLength: 0 maxLength: 10000

dependencies

string As byte As byte
compressedContent
Optional

compressedContent

string
actionType
Required

actionType

Possible values are : SCRIPT, REST_CALL, REST_POLL, FLOW, VAULT, CYBERARK,
string
provider
Optional

provider

string
contentId
Optional

contentId

object
configuration
Optional

configuration

boolean
system
Optional

system

boolean
shared
Optional

shared

boolean
scalable
Optional

scalable

boolean
asyncDeployed
Optional

asyncDeployed

string
runtimeVersion
Optional

runtimeVersion

string
id
Optional

id

string
orgId
Required

orgId

string
projectId
Optional

projectId

string
selfLink
Optional

selfLink


404

Action to update not found

Returns Action of type(s) */*
"Action Object"
string As ^\S$|^\S(.){0,253}\S$
name
Required

name

object
metadata
Optional

metadata

string
runtime
Required

runtime

string
source
Optional
Constraints: minLength: 0 maxLength: 128000

source

string
entrypoint
Required
Constraints: minLength: 0 maxLength: 255

entrypoint

string
description
Optional
Constraints: minLength: 0 maxLength: 2000

description

object
inputs
Optional

inputs

integer As int32 As int32
memoryInMB
Optional

memoryInMB

integer As int32 As int32
prePolyglotMemoryLimitInMB
Optional

prePolyglotMemoryLimitInMB

boolean
showMemoryAlert
Optional

showMemoryAlert

integer As int32 As int32
timeoutSeconds
Optional

timeoutSeconds

string
dependencies
Optional
Constraints: minLength: 0 maxLength: 10000

dependencies

string As byte As byte
compressedContent
Optional

compressedContent

string
actionType
Required

actionType

Possible values are : SCRIPT, REST_CALL, REST_POLL, FLOW, VAULT, CYBERARK,
string
provider
Optional

provider

string
contentId
Optional

contentId

object
configuration
Optional

configuration

boolean
system
Optional

system

boolean
shared
Optional

shared

boolean
scalable
Optional

scalable

boolean
asyncDeployed
Optional

asyncDeployed

string
runtimeVersion
Optional

runtimeVersion

string
id
Optional

id

string
orgId
Required

orgId

string
projectId
Optional

projectId

string
selfLink
Optional

selfLink


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"actionType:"string","entrypoint:"string","name:"string","orgId:"string","runtime:"string"}' https://{api_host}/abx/api/resources/actions/{id}