v1

latestOpenAPI 3.0.0(C) Copyright IBM Corp. 2016 All Rights Reserved.2026-07-144737155.4 KB
Container Groups

Unmap a public route from a container group

This endpoint unmaps a public route from a container group (corresponding IBM Containers command: cf ic route unmap -n <host> -d <domain> <group>). If no other public route is mapped to the container group, then the container group is no longer available from the internet.

When you unmap a route from a container group, the route is not deleted and can be mapped to other container groups.

post/containers/groups/{name_or_id}/unmaproute

Path parameters

name_or_idstring required

The name or unique ID (UUID) of the container group that you want to inspect.

Headers

X-Auth-Tokenstring required

The Bluemix JSON web token that you receive when logging into Bluemix. Run cf oauth-token to retrieve your access token.

X-Auth-Project-Idstring required

The unique ID of your organization space where you want to create or work with your containers. Run cf space <space_name> --guid, where <space_name> is the name of your space, to retrieve your space ID.

Request body

domainstring

The default system domain is mybluemix.net and already provides a SSL certificate, so you can access your container groups with HTTPS without any additional configuration.

hoststring

The host name of your container group, such as mycontainerhost. Do not include underscores (_) in the host name. The host and the domain combined form the full public route URL, such as http://mycontainerhost.mybluemix.net.

Response

OK. The route that you specified was successfully unmapped from the container group.

Idstring

Unique identifier representing a specific container group.

Warningsstring[]

Warning information (Initial warning is empty).