User S3 keys
List Object storage keys 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}/s3keys 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/s3keys",
"items": [
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys/78fa888e106456c1482d",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
},
"properties": {
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"active": true
}
}
]
}
Create an Object storage key for the specified user. The user ID is in the response body when the user is created, and in the list of the users, returned by GET. A maximum of five keys per user can be generated.
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.
POST /cloudapi/v6/um/users/{userId}/s3keys 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/users/15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys/78fa888e106456c1482d",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
},
"properties": {
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"active": true
}
}
Retrieve the specified user Object storage key. The user ID is in the response body when the user is created, and in the list of the users, returned by GET. The key ID is in the response body when the Object storage key is created, and in the list of all user Object storage keys, returned by GET.
The unique ID of the user.
The unique ID of the Object storage key.
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}/s3keys/{keyId} 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/users/15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys/78fa888e106456c1482d",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
},
"properties": {
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"active": true
}
}
Enables or disables the specified user Object storage key.
The unique ID of the user.
The unique ID of the Object storage key.
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/users/15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys/78fa888e106456c1482d
PUT /cloudapi/v6/um/users/{userId}/s3keys/{keyId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"type": "group",
"metadata": {},
"properties": {
"active": true
}
}
{
"id": "15f67991-0f51-4efc-a8ad-ef1fb31a480c",
"type": "group",
"href": "https://<API_HOST>/cloudapi/v6/um/users/15f67991-0f51-4efc-a8ad-ef1fb31a480c/s3keys/78fa888e106456c1482d",
"metadata": {
"etag": "45480eb3fbfc31f1d916c1eaa4abdcc3",
"createdDate": "2015-12-04T14:34:09.809Z",
"createdBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"createdByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedDate": "2015-12-04T14:34:09.809Z",
"lastModifiedBy": "ionos:identity:::users/63cef532-26fe-4a64-a4e0-de7c8a506c90",
"lastModifiedByUserId": "63cef532-26fe-4a64-a4e0-de7c8a506c90"
},
"properties": {
"secretKey": "tFVkUARsoeCdntQs2jVSyGG6TMPfPZ+ghnsWj/gG",
"active": true
}
}
Delete the specified user Object storage key.
The unique ID of the user.
The unique ID of the Object storage key.
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}/s3keys/{keyId} HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
No content
Retrieve Ionos Object Storage single sign-on URLs for the the specified user. 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
Users with multiple contracts must provide the contract number, for which all API requests are to be executed.
GET /cloudapi/v6/um/users/{userId}/s3ssourl HTTP/1.1
Host: api.ionos.com
Authorization: Basic username:password
Accept: */*
{
"ssoUrl": "https://<hostname>:port/ssosecurelogin.htm?user=dcf5702f-9353-47AN5-_x7E.....htm"
}
Was this helpful?