Authorization: administration token
Endpoint information: Create an instance
This section describes the steps for using the POST /instances API to create an instance for a customer account.
Important: If this is the first instance created for a specific account, it will be created as the default instance.
Send a POST to /provisioning/api/v1.0/instances. Use the values as described in the following table:
Item | Description |
---|---|
URI | /provisioning/api/v1.0/instances |
Method | POST |
Query parameters | N/A |
Request body | {
"shortName": "ACME-def-inst",
"accountId": "ACME"
} |
If the request was successful, the response returns the instance information, similar to this:
{
"id": "d889a651-123a-456b-78d9-60d6de8cfes9",
"shortName": "ACME-def-inst",
"accountId": "ACME",
"defaultInstance": true,
"created": 1,
"modified": 0
}