Update an Execution Environment
patch
/api/v2/execution_environments/{id}/
Make a PUT or PATCH request to this resource to update this execution environment. The following fields may be modified:
name: Name of this execution environment. (string, required)description: Optional description of this execution environment. (string, default="")organization: The organization used to determine access to this execution environment. (id, default=``)-
image: The full image location, including the container registry, image name, and version tag. (string, required) -
credential: (id, default=``) pull: Pull image before running? (choice)"": --------- (default)always: Always pull container before running.missing: Only pull the image if not present before running.never: Never pull container before running.
For a PATCH request, include only the fields that are being modified.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : ExecutionEnvironment
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
credential:
integer
Title:
Credential -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
image(required):
string
Title:
Image locationMinimum Length:1Maximum Length:1024The full image location, including the container registry, image name, and version tag. -
managed:
string
Title:
ManagedRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization:
integer
Title:
OrganizationThe organization used to determine access to this execution environment. -
pull:
string
Title:
PullAllowed Values:[ "always", "missing", "never" ]Pull image before running? - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Response
Supported Media Types
- application/json
200 Response
Root Schema : ExecutionEnvironment
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
credential:
integer
Title:
Credential -
description:
string
Title:
Description -
id:
integer
Title:
IDRead Only:true -
image(required):
string
Title:
Image locationMinimum Length:1Maximum Length:1024The full image location, including the container registry, image name, and version tag. -
managed:
string
Title:
ManagedRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization:
integer
Title:
OrganizationThe organization used to determine access to this execution environment. -
pull:
string
Title:
PullAllowed Values:[ "always", "missing", "never" ]Pull image before running? - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true