REST API reference
Platform API
Header parameters
idempotencyKeyanyRequired
Responses
201
Success
application/json
400
Client error
application/problem+json
post
/api/apiKeysPOST /api/apiKeys HTTP/1.1
Host:
Accept: */*
{
"type": {
"value": {
"value": {
"length": 1,
"isEmpty": true,
"span": {
"length": 1,
"isEmpty": true
}
},
"isDefault": true
},
"isDefault": true
},
"key": {
"value": {
"length": 1,
"isEmpty": true,
"span": {
"length": 1,
"isEmpty": true
}
},
"isDefault": true
}
}Header parameters
idempotencyKeyanyRequired
Body
offerstring · min: 1Required
namestring · min: 1Required
hostnamestring · min: 1Required
Responses
201
Success
application/json
400
Client error
application/problem+json
post
/api/subscriptionsPOST /api/subscriptions HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 48
{
"offer": "text",
"name": "text",
"hostname": "text"
}{
"type": {
"value": {
"value": {
"length": 1,
"isEmpty": true,
"span": {
"length": 1,
"isEmpty": true
}
},
"isDefault": true
},
"isDefault": true
},
"key": {
"value": {
"length": 1,
"isEmpty": true,
"span": {
"length": 1,
"isEmpty": true
}
},
"isDefault": true
}
}Subscription API
Responses
200
Success
application/json
401
Unauthorized
get
/api/subscriptions/{subscriptionId}/resourceGroupsGET /api/subscriptions/{subscriptionId}/resourceGroups HTTP/1.1
Host:
Accept: */*
[
{
"description": "text",
"id": "/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}",
"name": "text",
"resourceGroupId": "rg_1234",
"tags": {
"CustomerNumber": 1234,
"Department": "Service"
}
}
]Last updated
Was this helpful?