module PIM::Services::ApiKeyService
Public Instance Methods
create_api_key(name)
click to toggle source
# File services.rb, line 742 def create_api_key name return __convert(__api_key_service.createOrganizationAccountApiKey(name), to: ApiKeyToken, force: true) end
delete_api_key(api_key_id)
click to toggle source
# File services.rb, line 750 def delete_api_key api_key_id return __api_key_service.deleteOrganizationAccountApiKey(api_key_id) end
get_api_key(api_key_id)
click to toggle source
# File services.rb, line 738 def get_api_key api_key_id return __convert(__api_key_service.getOrganizationAccountApiKey(api_key_id), to: ApiKey, force: true) end
get_organization_api_keys()
click to toggle source
# File services.rb, line 734 def get_organization_api_keys return __convert(__api_key_service.getAllOrganizationApiKeys(), to: ApiKey, array: true, force: true) end
get_user_api_keys()
click to toggle source
# File services.rb, line 730 def get_user_api_keys return __convert(__api_key_service.getAllOrganizationAccountApiKeys(), to: ApiKey, array: true, force: true) end
update_api_key(api_key_id, name: return __convert(__api_key_service.updateOrganizationAccountApiKey(api_key_id, name), to: ApiKey, force: true))
click to toggle source
# File services.rb, line 746 def update_api_key api_key_id, name: return __convert(__api_key_service.updateOrganizationAccountApiKey(api_key_id, name), to: ApiKey, force: true) end