TokensApi
Method
HTTP request
Description
registries_tokens_delete
Examples
require 'time'
require 'ionoscloud-container-registry'
# setup authorization
IonoscloudContainerRegistry.configure do |config|
# Configure HTTP basic authorization: basicAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
# Configure API key authorization: tokenAuth
config.api_key['Authorization'] = 'YOUR API KEY'
# 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 = IonoscloudContainerRegistry::TokensApi.new
registry_id = TODO # String | The unique ID of the registry
token_id = TODO # String | The unique ID of the token
begin
# Delete token
api_instance.registries_tokens_delete(registry_id, token_id)
rescue IonoscloudContainerRegistry::ApiError => e
puts "Error when calling TokensApi->registries_tokens_delete: #{e}"
endUsing the registries_tokens_delete_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
registries_tokens_find_by_id
Examples
Using the registries_tokens_find_by_id_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
registries_tokens_get
Examples
Using the registries_tokens_get_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
registries_tokens_patch
Examples
Using the registries_tokens_patch_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
registries_tokens_post
Examples
Using the registries_tokens_post_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
registries_tokens_put
Examples
Using the registries_tokens_put_with_http_info variant
Parameters
Name
Type
Description
Notes
Return type
Authorization
HTTP request headers
Last updated
