mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 02:43:45 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/ibmcloud-api
Normal file
33
tldr/ibmcloud-api
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ibmcloud api
|
||||
|
||||
> Set or view the IBM Cloud API endpoint.
|
||||
> More information: <https://cloud.ibm.com/docs/cli?topic=cli-ibmcloud_cli#ibmcloud_api>.
|
||||
|
||||
- View the current API endpoint:
|
||||
|
||||
`ibmcloud api`
|
||||
|
||||
- Set the API endpoint to `cloud.ibm.com`:
|
||||
|
||||
`ibmcloud api cloud.ibm.com`
|
||||
|
||||
- Set a private API endpoint:
|
||||
|
||||
`ibmcloud api private.cloud.ibm.com`
|
||||
|
||||
- Use a VPC connection for a private endpoint:
|
||||
|
||||
`ibmcloud api private.cloud.ibm.com --vpc`
|
||||
|
||||
- Bypass SSL validation of HTTP requests:
|
||||
|
||||
`ibmcloud api https://cloud.ibm.com --skip-ssl-validation`
|
||||
|
||||
- Remove the API endpoint setting:
|
||||
|
||||
`ibmcloud api --unset`
|
||||
Reference in New Issue
Block a user