Exercise 2: Identifying the Instance
Authorization: administration token Endpoint information: Get a list of instances |
The instance whose short name contains "def-inst"—for example, ACME-def-inst, where ACME is the customer name—is always the instance used for auto-provisioning line items to Elastic Access.
Producers should send a GET call to /provisioning/api/v1.0/instances to identify the Elastic Access instances which host the line items belonging to customers.
Item |
Description |
URI |
/provisioning/api/v1.0/instances |
Method |
GET |
Query parameters |
next, size |
Request body |
N/A |
Sample Response
If the request was successful, the response returns the instance information:
{
"content": [
{
"id": "d889a651-123a-456b-78d9-60d6de8cfes9",
"shortName": "ACME-def-inst",
"accountId": "ACME",
"defaultInstance": true,
"created": 1695821887865,
"modified": 1695821887865
}
],
"next": "0"
}