Create an Execution Environment for an Organization
post
/api/v2/organizations/{id}/execution_environments/
Make a POST request to this resource with the following execution environment fields to create a new execution environment associated with this organization.
name
: Name of this execution environment. (string, required)-
description
: Optional description of this execution environment. (string, 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.
Remove Organization Execution Environments:
Make a POST request to this resource with id
and disassociate
fields to
delete the associated execution environment.
{
"id": 123,
"disassociate": true
}
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : ExecutionEnvironment
Type:
Show Source
object
-
created:
string
Title:
Created
Read Only:true
-
credential:
integer
Title:
Credential
-
description:
string
Title:
Description
-
id:
integer
Title:
ID
Read Only:true
-
image(required):
string
Title:
Image location
Minimum Length:1
Maximum Length:1024
The full image location, including the container registry, image name, and version tag. -
managed:
string
Title:
Managed
Read Only:true
-
modified:
string
Title:
Modified
Read Only:true
-
name(required):
string
Title:
Name
Minimum Length:1
Maximum Length:512
-
organization:
integer
Title:
Organization
The organization used to determine access to this execution environment. -
pull:
string
Title:
Pull
Allowed Values:[ "always", "missing", "never" ]
Pull image before running? - related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true
Response
Supported Media Types
- application/json
201 Response
Root Schema : ExecutionEnvironment
Type:
Show Source
object
-
created:
string
Title:
Created
Read Only:true
-
credential:
integer
Title:
Credential
-
description:
string
Title:
Description
-
id:
integer
Title:
ID
Read Only:true
-
image(required):
string
Title:
Image location
Minimum Length:1
Maximum Length:1024
The full image location, including the container registry, image name, and version tag. -
managed:
string
Title:
Managed
Read Only:true
-
modified:
string
Title:
Modified
Read Only:true
-
name(required):
string
Title:
Name
Minimum Length:1
Maximum Length:512
-
organization:
integer
Title:
Organization
The organization used to determine access to this execution environment. -
pull:
string
Title:
Pull
Allowed Values:[ "always", "missing", "never" ]
Pull image before running? - related: string
-
summary_fields:
string
Title:
Summary fields
Read Only:true
-
type:
string
Title:
Type
Read Only:true
-
url:
string
Title:
Url
Read Only:true