environments

Rename an environment or change its config [write]

Changed on

Omitted fields are left as they are. A changed config rebuilds the image; sessions already running keep the image they started on.

patch/environments/{id}

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/environments/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

The environment id (env_…)

Request body

namestring

Response

OK

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the required property / to the response with the status