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
Path Parameters
Body ()
Root Schema : ExecutionEnvironment
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Body ()
Root Schema : ExecutionEnvironment
Type: object
Show Source
Back to Top