Skip to main content
POST
/
external
/
api
/
v1
/
flexcompute
/
purchase
Purchase Capacity
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"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
cidrId
string
required
Example:

"sc_1235674554"

Response

200

OK