Once you have all the information about the available locations, you can check out the name of existing registries. The name you choose should be available and must not be already in use.
Note:
Your chosen name must be available for the registry.
All registry names must be unique.
Make sure the name is suitable for use in the new registry: it only uses the characters "a-z", "0-9" or "-", starts with a letter and ends with a letter or number, and can be from 3 to 63 characters long and is accessible.
You can retrieve all the existing registries to check out the available names.
You can update the limit value to get specific registries.
Field | Type | Description | Example |
---|---|---|---|
200 OK - Successfully showed the list of registries
Note: Your values will differ from those in the sample code. Your response will have a different id
and existing registries
.
Field | Type | Description | Example |
---|---|---|---|
limit
integer
The limit of the registries that have been retrieved
5
limit
number
The output value if specified in the request.
5
id
string
The ID of the fetched output.
locations
type
string
The type of the resource that has been retrieved.
collection
href
URL (string)
URL to the object representation (absolute path).
https://api.ionos.com/cloudapi/v6/locations
createdBy
string
The ID of the user or service account that initiated the operation.
samplel@ionos.com
createdByUserId
string
The email ID of the user or service account that initiated the operation.
7ee77dcf-093f-48e6-9a14-161c73568589
location
string
The location of the resource.
es/vit
days
array
The days of the week selected.
Monday