Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/os-aggregates/{aggregate_id}/action | Removes a host from an aggregate. |
Normal response codes: 200
This table shows the URI parameters for the remove host from aggregate request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| UUID | The ID associated with an aggregate. |
Example 3.135. Remove host from aggregate: XML request
<?xml version="1.0" encoding="UTF-8"?> <remove_host host="7c9e00dbca5e4fb88538b021c0f933a5" />
Example 3.136. Remove host from aggregate: JSON request
{ "remove_host": { "host": "581d29b9e3504d8a895caddb13839b15" } }
This operation does not require a request body.
Example 3.137. Remove host from aggregate: XML response
<?xml version='1.0' encoding='UTF-8'?> <aggregate> <name>name</name> <availability_zone>nova</availability_zone> <deleted>False</deleted> <created_at>2012-12-04 12:04:29.722109</created_at> <updated_at>None</updated_at> <hosts/> <deleted_at>None</deleted_at> <id>1</id> <metadata> <availability_zone>nova</availability_zone> </metadata> </aggregate>
Example 3.138. Remove host from aggregate: JSON response
{ "aggregate": { "availability_zone": "nova", "created_at": "2012-12-04T12:04:26.557909", "deleted": false, "deleted_at": null, "hosts": [], "id": 1, "metadata": { "availability_zone": "nova" }, "name": "name", "updated_at": null } }
This operation does not return a response body.