DELETE
/
org
/
environments
/
{id}
curl --request DELETE \
  --url https:/api.schedo.dev/api/org/environments/{id}
{
  "created_at": "<string>",
  "edges": {
    "organization": [
      {
        "clerk_id": "<string>",
        "edges": {
          "api_keys": [
            {
              "created_at": "<string>",
              "edges": {},
              "environment_id": 123,
              "id": 123,
              "internal": true,
              "key": "<string>",
              "name": "<string>",
              "organization_id": 123,
              "revoked": true
            }
          ]
        },
        "emails": [
          "<string>"
        ],
        "id": 123,
        "name": "<string>",
        "single_user_org": true
      }
    ]
  },
  "id": 123,
  "name": "<string>",
  "organization_id": 123
}

Path Parameters

id
integer
required

Environment ID

Response

200 - application/json
OK
created_at
string

CreatedAt holds the value of the "created_at" field.

edges
object

Edges holds the relations/edges for other nodes in the graph. The values are being populated by the EnvironmentQuery when eager-loading is set.

id
integer

ID of the ent.

name
string

Name holds the value of the "name" field.

organization_id
integer

OrganizationID holds the value of the "organization_id" field.