cURL
curl --request POST \ --url https://public-api.cloudidr.com/external/api/v1/flexcompute/purchase \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "cidrId": "sc_1235674554" } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"sc_1235674554"
OK