LinuxCommandLibrary

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
Use private endpoint
$ ibmcloud api private.cloud.ibm.com
copy
Use VPC private endpoint
$ ibmcloud api [endpoint] --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. Without arguments, shows the current endpoint. Set to private.cloud.ibm.com for private network access. 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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community