Examples

DELETE /katello/api/organizations/114267492/environments/1028819245
{
  "environment": {}
}
200
{
  "library": false,
  "registry_name_pattern": null,
  "registry_unauthenticated_pull": false,
  "id": 1028819245,
  "name": "DestroyAble",
  "label": "DestroyAble",
  "description": null,
  "organization_id": 114267492,
  "organization": {
    "name": "Empty Organization",
    "label": "Empty_Organization",
    "id": 114267492
  },
  "created_at": "2024-02-22 18:27:33 UTC",
  "updated_at": "2024-02-22 18:27:33 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.