User management
List all the users in your account.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
The first element (from the complete list of the elements) to include in the response (used together with limit for pagination).
0
The maximum number of elements to return (use together with offset for pagination).
100
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/users HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "<RESOURCE-URI>",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
"[Circular Reference]"
]
},
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
"items": [
"[Circular Reference]"
]
}
}
}
],
"offset": 0,
"limit": 1000,
"_links": {
"prev": "<PREVIOUS-PAGE-URI>",
"self": "<THIS-PAGE-URI>",
"next": "<NEXT-PAGE-URI>"
}
}
Create a user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
POST /cloudapi/v6/um/users HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"password": "text",
"active": true
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
},
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": "[Circular Reference]",
"resources": "[Circular Reference]"
}
}
]
}
}
}
Retrieve user properties by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
The unique ID of the user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/users/{userId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
},
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": "[Circular Reference]",
"resources": "[Circular Reference]"
}
}
]
}
}
}
Modify the properties of the specified user.
The unique ID of the user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
PUT /cloudapi/v6/um/users/{userId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 206
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"password": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"active": true
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
},
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": "[Circular Reference]",
"resources": "[Circular Reference]"
}
}
]
}
}
}
Delete the specified user.
The unique ID of the user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
DELETE /cloudapi/v6/um/users/{userId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
No content
Retrieve group resources of the user by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
The unique ID of the user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/users/{userId}/groups HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
Retrieve own resources of the user by user ID. The user ID is in the response body when the user is created, and in the list of the users, returned by GET.
The unique ID of the user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/users/{userId}/owns HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
List all the available user groups.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/groups HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/users",
"items": [
"[Circular Reference]"
]
},
"resources": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
Create a group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
The type of the resource.
group
URL to the object representation (absolute path).
https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c
POST /cloudapi/v6/um/groups HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 797
{
"type": "group",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": {
"type": "collection"
},
"resources": {
"type": "collection"
}
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/users",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": "[Circular Reference]",
"groups": "[Circular Reference]"
}
}
]
},
"resources": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
}
}
}
Retrieve a group by the group ID. This value is in the response body when the group is created, and in the list of the groups, returned by GET.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/groups/{groupId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/users",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": "[Circular Reference]",
"groups": "[Circular Reference]"
}
}
]
},
"resources": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
}
}
}
Modify the properties of the specified group.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
The type of the resource.
group
URL to the object representation (absolute path).
https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c
PUT /cloudapi/v6/um/groups/{groupId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 797
{
"type": "group",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": {
"type": "collection"
},
"resources": {
"type": "collection"
}
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/users",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": "[Circular Reference]",
"groups": "[Circular Reference]"
}
}
]
},
"resources": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
}
}
}
Remove the specified group.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
DELETE /cloudapi/v6/um/groups/{groupId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
No content
List the resources assigned to the group, by group ID.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/groups/{groupId}/resources HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
List all members of the specified user group.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/groups/{groupId}/users HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/users",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
"[Circular Reference]"
]
},
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
Adds an existing user to the specified group.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
POST /cloudapi/v6/um/groups/{groupId}/users HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c"
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "user",
"href": "<RESOURCE-URI>",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastLogin": "2015-12-04T14:34:09.809Z"
},
"properties": {
"firstname": "text",
"lastname": "text",
"email": "text",
"administrator": true,
"forceSecAuth": true,
"secAuthActive": true,
"s3CanonicalUserId": "text",
"active": true
},
"entities": {
"owns": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/owns",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
},
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/9b1b4c62-1466-11e7-87d3-d7bb7dac0087/groups",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"properties": {
"name": "My resource",
"createDatacenter": true,
"createSnapshot": true,
"reserveIp": true,
"accessActivityLog": true,
"createPcc": true,
"s3Privilege": true,
"createBackupUnit": true,
"createInternetAccess": true,
"createK8sCluster": true,
"createFlowLog": true,
"accessAndManageMonitoring": true,
"accessAndManageCertificates": true,
"manageDBaaS": true,
"accessAndManageDns": true,
"manageRegistry": true,
"manageDataplatform": true,
"accessAndManageLogging": true,
"accessAndManageCdn": true,
"accessAndManageVpn": true,
"accessAndManageApiGateway": true,
"accessAndManageKaas": true,
"accessAndManageNetworkFileStorage": true,
"accessAndManageAiModelHub": true,
"accessAndManageIamResources": true,
"createNetworkSecurityGroups": true
},
"entities": {
"users": "[Circular Reference]",
"resources": "[Circular Reference]"
}
}
]
}
}
}
Remove the specified user from the group.
The unique ID of the group.
The unique ID of the user.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
DELETE /cloudapi/v6/um/groups/{groupId}/users/{userId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
No content
Retrieve the properties of the specified group share.
The unique ID of the group.
The unique ID of the resource.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/groups/{groupId}/shares/{resourceId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "resource",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares/17faab13-13abc-4efc-a8ad-ef1fb31a481b",
"properties": {
"editPrivilege": true,
"sharePrivilege": true
}
}
Add the specified share to the group.
The unique ID of the group.
The unique ID of the resource.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
resource as generic type
resource
URL to the object representation (absolute path).
https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares/17faab13-13abc-4efc-a8ad-ef1fb31a481b
POST /cloudapi/v6/um/groups/{groupId}/shares/{resourceId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: */*
Accept: */*
Content-Length: 77
{
"type": "resource",
"properties": {
"editPrivilege": true,
"sharePrivilege": true
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "resource",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares/17faab13-13abc-4efc-a8ad-ef1fb31a481b",
"properties": {
"editPrivilege": true,
"sharePrivilege": true
}
}
Modify share permissions for the specified group. With an empty body, no updates are performed, and the current share permissions for the group are returned with response code 200.
The unique ID of the group.
The unique ID of the resource.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
The resource's unique identifier.
15f67991-0f51-4efc-a8ad-ef1fb31a480c
resource as generic type
resource
URL to the object representation (absolute path).
https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares/17faab13-13abc-4efc-a8ad-ef1fb31a481b
PUT /cloudapi/v6/um/groups/{groupId}/shares/{resourceId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"type": "resource",
"properties": {
"editPrivilege": true,
"sharePrivilege": true
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "resource",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares/17faab13-13abc-4efc-a8ad-ef1fb31a481b",
"properties": {
"editPrivilege": true,
"sharePrivilege": true
}
}
Remove the specified share from the group.
The unique ID of the group.
The unique ID of the resource.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
DELETE /cloudapi/v6/um/groups/{groupId}/shares/{resourceId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
No content
List all shares and share privileges for the specified group.
The unique ID of the group.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/groups/{groupId}/shares HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "resource",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "resource",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/15f67991-0f51-4efc-a8ad-ef1fb31a480c/shares/17faab13-13abc-4efc-a8ad-ef1fb31a481b",
"properties": {
"editPrivilege": true,
"sharePrivilege": true
}
}
]
}
List all the available resources.
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/resources HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
List all resources of the specified type.
Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s}
Resource types are in the list of resources, returned by GET.
The resource type
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/resources/{resourceType} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
"[Circular Reference]"
]
}
}
}
]
}
Retrieve a resource by the resource type and resource ID.
Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s}
Resource types are in the list of resources, returned by GET.
The resource type
The resource ID
Controls whether the response is pretty-printed (with indentations and new lines).
true
Controls the detail depth of the response objects. GET /datacenters/[ID] - depth=0: Only direct properties are included; children (servers and other elements) are not included. - depth=1: Direct properties and children references are included. - depth=2: Direct properties and children properties are included. - depth=3: Direct properties and children properties and children's children are included. - depth=... and so on
0
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/resources/{resourceType}/{resourceId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": {
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "collection",
"href": "https://<API_HOST>/cloudapi/v6/um/groups/30740c22-1def-11e7-aac9-d7a3646ca7fd/resources",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/resources/datacenter/15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "[email protected]",
"createdByUserId": "[email protected]",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "[email protected]",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"state": "AVAILABLE"
},
"properties": {
"name": "text",
"secAuthProtection": true
},
"entities": {
"groups": "[Circular Reference]"
}
}
]
}
}
}
Was this helpful?