Examples

DELETE /katello/api/organizations/114267492/environments/1028819258
{
  "environment": {}
}
200
{
  "library": false,
  "registry_name_pattern": null,
  "registry_unauthenticated_pull": false,
  "id": 1028819258,
  "name": "DestroyAble",
  "label": "DestroyAble",
  "description": null,
  "organization_id": 114267492,
  "organization": {
    "name": "Empty Organization",
    "label": "Empty_Organization",
    "id": 114267492
  },
  "created_at": "2023-08-23 20:04:02 UTC",
  "updated_at": "2023-08-23 20:04:02 UTC",
  "prior": {
    "name": "Staging",
    "id": 1028819239
  },
  "successor": null,
  "counts": {
    "content_hosts": 0,
    "content_views": 0
  },
  "permissions": {
    "create_lifecycle_environments": true,
    "view_lifecycle_environments": true,
    "edit_lifecycle_environments": true,
    "destroy_lifecycle_environments": true,
    "promote_or_remove_content_views_to_environments": true
  },
  "content_views": []
}

Params

Param name Description
id
required

ID of the environment

Validations:

  • Must be a number.

organization_id
optional

organization identifier

Validations:

  • Must be a number.