LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ibmcloud-api

sets or displays the IBM Cloud API endpoint

TLDR

Show current API endpoint
$ ibmcloud api
copy
Set API endpoint
$ ibmcloud api [https://cloud.ibm.com]
copy
Set private endpoint
$ ibmcloud api https://private.cloud.ibm.com
copy
Set private endpoint via VPC
$ ibmcloud api https://private.cloud.ibm.com --vpc
copy
Unset API endpoint
$ ibmcloud api --unset
copy
Skip SSL validation
$ ibmcloud api [endpoint] --skip-ssl-validation
copy

SYNOPSIS

ibmcloud api [endpoint] [options]

DESCRIPTION

ibmcloud api sets or displays the IBM Cloud API endpoint. If neither an endpoint nor --unset is specified, the current API endpoint is displayed. The default public endpoint is https://cloud.ibm.com. Use https://private.cloud.ibm.com for private network access. Setting the API endpoint is required before logging in with ibmcloud login.

PARAMETERS

--unset

Clear the API endpoint.
--skip-ssl-validation
Bypass SSL validation (not recommended).
--vpc
Use VPC connection for private endpoint.

SEE ALSO

Copied to clipboard
Kai