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 : schema
Type:
Show Source
object-
credential:
integer
-
description:
string
-
image(required):
string
The full image location, including the container registry, image name, and version tag.
-
name(required):
string
-
organization:
integer
The organization used to determine access to this execution environment.
-
pull:
string
Pull image before running?