Interact with Bare Metal Cloud (BMC) APIs using your favorite API management and testing tool.
Bare Metal Cloud • BMC Collection on Postman • Developers Portal • Knowledge Base • Support
- Bare Metal Cloud (BMC) account - Get Started
- Postman account / locall installation of Postman - View Instructions
- Go to the Bare Metal Cloud signup page.
- Follow the prompts to set up your account.
- Use your credentials to log in to Bare Metal Cloud portal.
To use Postman on the desktop, download the app and launch it.
Alternatively, navigate to Postman on the web at go.postman.co/home.
You will see a prompt to log in or sign up. Follow the steps outlined here to create an account.
The Postman Collection of BMC APIs lets you easily trigger and test API calls to view your BMC server status, billing information, audit logs, networks, and tags. It is automatically updated on GitHub with every change we make to our APIs, so you always have the access to the latest version.
Deployment steps:
- Download Collection from https://github.com/phoenixnap/postman-collection-bmc.
- Import the collection into Postman.
- Set up two enviorment variables: clientId and clientSecret.
- Go to your Bare Metal Cloud acount and create Client Credentials with wanted scopes. Refer to the section below for detailed instructions on how to do it.
- Click Manage Enviornments in the top right corner of Postman inerface.
- Add two new environments with variables clientId (for Client ID) and clientSecret (for Client Secret) that you fetched from step BMC portal.
- Save the environment and select it in the environment drop down menu
- Go to your Bare Metal Cloud acount and create Client Credentials with wanted scopes. Refer to the section below for detailed instructions on how to do it.
- The Collection can now be used to make or test API calls.
Authorization steps:
- Go to Collection.
- Click on the 3 dots button icon or right click the item.
- Click the Get New Access Token button.
- Click Update.
- You have generated a token that will be inherited by the individual calls. Repeat the process only for when the token expires.
💡 Parameters and Body Requests are provided as an example in all requests. They need to be changed to reflect your own use.
💡 Environment variables you created for BMC credentials will not be deleted when you update the collection, even though everything else will be refreshed.
Creating BMC Client ID and Client Secret takes several simple steps.
- Log in to your BMC account at bmc.phoenixnap.com.
- Choose API Credentials from the left side menu.
- Click Create API Credentials to open a dialogue where you will enter Credential name and Credential description.
- Select the Credentials scope and click Create.
- Your Client ID and Client Secret have been created. You can copy them and add them to Postman as clientId and clientSecret for authorization.
Become part of the Bare Metal Cloud community to get updates on new features, help us improve the platform, and engage with developers and other users.
- Follow @phoenixNAP on Twitter
- Join the official Slack channel
- Sign up for our Developers Monthly newsletter
Get in touch with us if you have questions or need help with Bare Metal Cloud.