docs/api/UserS3KeysApi.md in ionoscloud-6.0.0.beta.4 vs docs/api/UserS3KeysApi.md in ionoscloud-6.0.0

- old
+ new

@@ -2,25 +2,25 @@ All URIs are relative to *https://api.ionos.com/cloudapi/v6* | Method | HTTP request | Description | | ------ | ------------ | ----------- | -| [**um_users_s3keys_delete**](UserS3KeysApi.md#um_users_s3keys_delete) | **DELETE** /um/users/{userId}/s3keys/{keyId} | Delete an S3 Key | -| [**um_users_s3keys_find_by_key_id**](UserS3KeysApi.md#um_users_s3keys_find_by_key_id) | **GET** /um/users/{userId}/s3keys/{keyId} | Retrieve given S3 Key belonging to the given User | -| [**um_users_s3keys_get**](UserS3KeysApi.md#um_users_s3keys_get) | **GET** /um/users/{userId}/s3keys | Retrieve a User&#39;s S3 keys | -| [**um_users_s3keys_post**](UserS3KeysApi.md#um_users_s3keys_post) | **POST** /um/users/{userId}/s3keys | Create a S3 Key for the given User | -| [**um_users_s3keys_put**](UserS3KeysApi.md#um_users_s3keys_put) | **PUT** /um/users/{userId}/s3keys/{keyId} | Modify a S3 key having the given key id | -| [**um_users_s3ssourl_get**](UserS3KeysApi.md#um_users_s3ssourl_get) | **GET** /um/users/{userId}/s3ssourl | Retrieve S3 object storage single signon URL for the given user | +| [**um_users_s3keys_delete**](UserS3KeysApi.md#um_users_s3keys_delete) | **DELETE** /um/users/{userId}/s3keys/{keyId} | Delete S3 keys | +| [**um_users_s3keys_find_by_key_id**](UserS3KeysApi.md#um_users_s3keys_find_by_key_id) | **GET** /um/users/{userId}/s3keys/{keyId} | Retrieve user S3 keys by key ID | +| [**um_users_s3keys_get**](UserS3KeysApi.md#um_users_s3keys_get) | **GET** /um/users/{userId}/s3keys | List user S3 keys | +| [**um_users_s3keys_post**](UserS3KeysApi.md#um_users_s3keys_post) | **POST** /um/users/{userId}/s3keys | Create user S3 keys | +| [**um_users_s3keys_put**](UserS3KeysApi.md#um_users_s3keys_put) | **PUT** /um/users/{userId}/s3keys/{keyId} | Modify S3 keys by key ID | +| [**um_users_s3ssourl_get**](UserS3KeysApi.md#um_users_s3ssourl_get) | **GET** /um/users/{userId}/s3ssourl | Retrieve S3 single sign-on URLs | ## um_users_s3keys_delete > um_users_s3keys_delete(user_id, key_id, opts) -Delete an S3 Key +Delete S3 keys -Delete an S3 key. +Delete the specified user S3 key. ### Examples ```ruby require 'time' @@ -36,20 +36,20 @@ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = Ionoscloud::UserS3KeysApi.new -user_id = 'user_id_example' # String | The unique ID of the user -key_id = 'key_id_example' # String | The unique access key ID of the S3 key +user_id = 'user_id_example' # String | The unique ID of the user. +key_id = 'key_id_example' # String | The unique ID of the S3 key. opts = { pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines). depth: 56, # Integer | 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 x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. } begin - # Delete an S3 Key + # Delete S3 keys api_instance.um_users_s3keys_delete(user_id, key_id, opts) rescue Ionoscloud::ApiError => e puts "Error when calling UserS3KeysApi->um_users_s3keys_delete: #{e}" end ``` @@ -60,11 +60,11 @@ > <Array(nil, Integer, Hash)> um_users_s3keys_delete_with_http_info(user_id, key_id, opts) ```ruby begin - # Delete an S3 Key + # Delete S3 keys data, status_code, headers = api_instance.um_users_s3keys_delete_with_http_info(user_id, key_id, opts) p status_code # => 2xx p headers # => { ... } p data # => nil rescue Ionoscloud::ApiError => e @@ -74,12 +74,12 @@ ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **user_id** | **String** | The unique ID of the user | | -| **key_id** | **String** | The unique access key ID of the S3 key | | +| **user_id** | **String** | The unique ID of the user. | | +| **key_id** | **String** | The unique ID of the S3 key. | | | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] | | **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on | [optional][default to 0] | | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] | ### Return type @@ -98,13 +98,13 @@ ## um_users_s3keys_find_by_key_id > <S3Key> um_users_s3keys_find_by_key_id(user_id, key_id, opts) -Retrieve given S3 Key belonging to the given User +Retrieve user S3 keys by key ID -You can retrieve S3 key belonging to the given User. This user Id can be found in the response body when a user is created or when you GET a list of users. The key Id can be found in the response body when a S3 key is created or when you GET a list of all S3 keys of a user +Retrieve the specified user S3 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 S3 key is created, and in the list of all user S3 keys, returned by GET. ### Examples ```ruby require 'time' @@ -120,20 +120,20 @@ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = Ionoscloud::UserS3KeysApi.new -user_id = 'user_id_example' # String | The unique ID of the user -key_id = 'key_id_example' # String | The unique access key ID of the S3 key +user_id = 'user_id_example' # String | The unique ID of the user. +key_id = 'key_id_example' # String | The unique ID of the S3 key. opts = { pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines). depth: 56, # Integer | 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 x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. } begin - # Retrieve given S3 Key belonging to the given User + # Retrieve user S3 keys by key ID result = api_instance.um_users_s3keys_find_by_key_id(user_id, key_id, opts) p result rescue Ionoscloud::ApiError => e puts "Error when calling UserS3KeysApi->um_users_s3keys_find_by_key_id: #{e}" end @@ -145,11 +145,11 @@ > <Array(<S3Key>, Integer, Hash)> um_users_s3keys_find_by_key_id_with_http_info(user_id, key_id, opts) ```ruby begin - # Retrieve given S3 Key belonging to the given User + # Retrieve user S3 keys by key ID data, status_code, headers = api_instance.um_users_s3keys_find_by_key_id_with_http_info(user_id, key_id, opts) p status_code # => 2xx p headers # => { ... } p data # => <S3Key> rescue Ionoscloud::ApiError => e @@ -159,19 +159,19 @@ ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **user_id** | **String** | The unique ID of the user | | -| **key_id** | **String** | The unique access key ID of the S3 key | | +| **user_id** | **String** | The unique ID of the user. | | +| **key_id** | **String** | The unique ID of the S3 key. | | | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] | | **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on | [optional][default to 0] | | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] | ### Return type -[**S3Key**](S3Key.md) +[**S3Key**](../models/S3Key.md) ### Authorization Basic Authentication, Token Authentication @@ -183,13 +183,13 @@ ## um_users_s3keys_get > <S3Keys> um_users_s3keys_get(user_id, opts) -Retrieve a User's S3 keys +List user S3 keys -You can retrieve S3 keys owned by a user by using the users ID. This user Id can be found in the response body when a user is created or when you GET a list of users. +List S3 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. ### Examples ```ruby require 'time' @@ -205,19 +205,19 @@ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = Ionoscloud::UserS3KeysApi.new -user_id = 'user_id_example' # String | The unique ID of the user +user_id = 'user_id_example' # String | The unique ID of the user. opts = { pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines). depth: 56, # Integer | 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 x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. } begin - # Retrieve a User's S3 keys + # List user S3 keys result = api_instance.um_users_s3keys_get(user_id, opts) p result rescue Ionoscloud::ApiError => e puts "Error when calling UserS3KeysApi->um_users_s3keys_get: #{e}" end @@ -229,11 +229,11 @@ > <Array(<S3Keys>, Integer, Hash)> um_users_s3keys_get_with_http_info(user_id, opts) ```ruby begin - # Retrieve a User's S3 keys + # List user S3 keys data, status_code, headers = api_instance.um_users_s3keys_get_with_http_info(user_id, opts) p status_code # => 2xx p headers # => { ... } p data # => <S3Keys> rescue Ionoscloud::ApiError => e @@ -243,18 +243,18 @@ ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **user_id** | **String** | The unique ID of the user | | +| **user_id** | **String** | The unique ID of the user. | | | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] | | **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on | [optional][default to 0] | | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] | ### Return type -[**S3Keys**](S3Keys.md) +[**S3Keys**](../models/S3Keys.md) ### Authorization Basic Authentication, Token Authentication @@ -266,13 +266,13 @@ ## um_users_s3keys_post > <S3Key> um_users_s3keys_post(user_id, opts) -Create a S3 Key for the given User +Create user S3 keys -Creates a S3 key for the given user. This user Id can be found in the response body when a user is created or when you GET a list of users. Maximum of 5 keys can be generated for a given user +Create an S3 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. ### Examples ```ruby require 'time' @@ -288,19 +288,19 @@ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = Ionoscloud::UserS3KeysApi.new -user_id = 'user_id_example' # String | The unique ID of the user +user_id = 'user_id_example' # String | The unique ID of the user. opts = { pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines). depth: 56, # Integer | 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 x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. } begin - # Create a S3 Key for the given User + # Create user S3 keys result = api_instance.um_users_s3keys_post(user_id, opts) p result rescue Ionoscloud::ApiError => e puts "Error when calling UserS3KeysApi->um_users_s3keys_post: #{e}" end @@ -312,11 +312,11 @@ > <Array(<S3Key>, Integer, Hash)> um_users_s3keys_post_with_http_info(user_id, opts) ```ruby begin - # Create a S3 Key for the given User + # Create user S3 keys data, status_code, headers = api_instance.um_users_s3keys_post_with_http_info(user_id, opts) p status_code # => 2xx p headers # => { ... } p data # => <S3Key> rescue Ionoscloud::ApiError => e @@ -326,18 +326,18 @@ ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **user_id** | **String** | The unique ID of the user | | +| **user_id** | **String** | The unique ID of the user. | | | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] | | **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on | [optional][default to 0] | | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] | ### Return type -[**S3Key**](S3Key.md) +[**S3Key**](../models/S3Key.md) ### Authorization Basic Authentication, Token Authentication @@ -349,13 +349,13 @@ ## um_users_s3keys_put > <S3Key> um_users_s3keys_put(user_id, key_id, s3_key, opts) -Modify a S3 key having the given key id +Modify S3 keys by key ID -You can enable or disable a given S3 key. +Enable or disable the specified user S3 key. ### Examples ```ruby require 'time' @@ -371,21 +371,21 @@ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = Ionoscloud::UserS3KeysApi.new -user_id = 'user_id_example' # String | -key_id = 'key_id_example' # String | The unique access key ID of the S3 key -s3_key = Ionoscloud::S3Key.new({properties: Ionoscloud::S3KeyProperties.new}) # S3Key | Modified S3 key +user_id = 'user_id_example' # String | The unique ID of the user. +key_id = 'key_id_example' # String | The unique ID of the S3 key. +s3_key = Ionoscloud::S3Key.new({properties: Ionoscloud::S3KeyProperties.new}) # S3Key | The modified S3 key. opts = { pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines). depth: 56, # Integer | 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 x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. } begin - # Modify a S3 key having the given key id + # Modify S3 keys by key ID result = api_instance.um_users_s3keys_put(user_id, key_id, s3_key, opts) p result rescue Ionoscloud::ApiError => e puts "Error when calling UserS3KeysApi->um_users_s3keys_put: #{e}" end @@ -397,11 +397,11 @@ > <Array(<S3Key>, Integer, Hash)> um_users_s3keys_put_with_http_info(user_id, key_id, s3_key, opts) ```ruby begin - # Modify a S3 key having the given key id + # Modify S3 keys by key ID data, status_code, headers = api_instance.um_users_s3keys_put_with_http_info(user_id, key_id, s3_key, opts) p status_code # => 2xx p headers # => { ... } p data # => <S3Key> rescue Ionoscloud::ApiError => e @@ -411,20 +411,20 @@ ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **user_id** | **String** | | | -| **key_id** | **String** | The unique access key ID of the S3 key | | -| **s3_key** | [**S3Key**](S3Key.md) | Modified S3 key | | +| **user_id** | **String** | The unique ID of the user. | | +| **key_id** | **String** | The unique ID of the S3 key. | | +| **s3_key** | [**S3Key**](S3Key.md) | The modified S3 key. | | | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] | | **depth** | **Integer** | Controls the detail depth of the response objects. GET /datacenters/[ID] - depth&#x3D;0: Only direct properties are included; children (servers and other elements) are not included. - depth&#x3D;1: Direct properties and children references are included. - depth&#x3D;2: Direct properties and children properties are included. - depth&#x3D;3: Direct properties and children properties and children&#39;s children are included. - depth&#x3D;... and so on | [optional][default to 0] | | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] | ### Return type -[**S3Key**](S3Key.md) +[**S3Key**](../models/S3Key.md) ### Authorization Basic Authentication, Token Authentication @@ -436,13 +436,13 @@ ## um_users_s3ssourl_get > <S3ObjectStorageSSO> um_users_s3ssourl_get(user_id, opts) -Retrieve S3 object storage single signon URL for the given user +Retrieve S3 single sign-on URLs -You can retrieve S3 object storage single signon URL for the given user. This user Id can be found in the response body when a user is created or when you GET a list of users. +Retrieve S3 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. ### Examples ```ruby require 'time' @@ -458,18 +458,18 @@ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) # config.api_key_prefix['Authorization'] = 'Bearer' end api_instance = Ionoscloud::UserS3KeysApi.new -user_id = 'user_id_example' # String | The unique ID of the user +user_id = 'user_id_example' # String | The unique ID of the user. opts = { pretty: true, # Boolean | Controls whether the response is pretty-printed (with indentations and new lines). x_contract_number: 56 # Integer | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. } begin - # Retrieve S3 object storage single signon URL for the given user + # Retrieve S3 single sign-on URLs result = api_instance.um_users_s3ssourl_get(user_id, opts) p result rescue Ionoscloud::ApiError => e puts "Error when calling UserS3KeysApi->um_users_s3ssourl_get: #{e}" end @@ -481,11 +481,11 @@ > <Array(<S3ObjectStorageSSO>, Integer, Hash)> um_users_s3ssourl_get_with_http_info(user_id, opts) ```ruby begin - # Retrieve S3 object storage single signon URL for the given user + # Retrieve S3 single sign-on URLs data, status_code, headers = api_instance.um_users_s3ssourl_get_with_http_info(user_id, opts) p status_code # => 2xx p headers # => { ... } p data # => <S3ObjectStorageSSO> rescue Ionoscloud::ApiError => e @@ -495,16 +495,16 @@ ### Parameters | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | -| **user_id** | **String** | The unique ID of the user | | +| **user_id** | **String** | The unique ID of the user. | | | **pretty** | **Boolean** | Controls whether the response is pretty-printed (with indentations and new lines). | [optional][default to true] | | **x_contract_number** | **Integer** | Users with multiple contracts must provide the contract number, against which all API requests are to be executed. | [optional] | ### Return type -[**S3ObjectStorageSSO**](S3ObjectStorageSSO.md) +[**S3ObjectStorageSSO**](../models/S3ObjectStorageSSO.md) ### Authorization Basic Authentication, Token Authentication