Skip to main content

SecureKeyApi

valkyrai-api

All URIs are relative to http://localhost:8080/v1

MethodHTTP requestDescription
deleteSecureKeyDELETE SecureKeyApiDelete a SecureKey.

deleteSecureKey

Void
deleteSecureKey(id)

Delete a SecureKey.

Deletes a specific SecureKey.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.SecureKeyApi;


SecureKeyApi apiInstance = new SecureKeyApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the SecureKey.

try {
Void result = apiInstance.deleteSecureKey(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SecureKeyApi#deleteSecureKey");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the SecureKey.

Return type

Void

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

getSecureKey

SecureKey
getSecureKey(id)

Retrieve a single SecureKey

Retrieves a single SecureKey for a specific uid.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.SecureKeyApi;


SecureKeyApi apiInstance = new SecureKeyApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the SecureKey.

try {
SecureKey result = apiInstance.getSecureKey(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SecureKeyApi#getSecureKey");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the SecureKey.

Return type

SecureKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getSecureKeyList

SecureKey
getSecureKeyList()

Retrieve a list of SecureKeys

Retrieves a list of SecureKeys.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.SecureKeyApi;


SecureKeyApi apiInstance = new SecureKeyApi();

try {
SecureKey result = apiInstance.getSecureKeyList();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SecureKeyApi#getSecureKeyList");
e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

SecureKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

postSecureKey

SecureKey
postSecureKey(secureKey)

Create a new SecureKey

Creates a new SecureKey.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.SecureKeyApi;


SecureKeyApi apiInstance = new SecureKeyApi();
SecureKey secureKey = new SecureKey(); // SecureKey | SecureKey details.

try {
SecureKey result = apiInstance.postSecureKey(secureKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SecureKeyApi#postSecureKey");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
secureKeySecureKeySecureKey details.

Return type

SecureKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

updateSecureKey

SecureKey
updateSecureKey(idsecureKey)

Update an existing SecureKey

Updates an existing SecureKey.

Example

Import classes:
import com.valkyrlabs.ApiException;
import com.valkyrlabs.api.SecureKeyApi;


SecureKeyApi apiInstance = new SecureKeyApi();
UUID id = UUID.randomUUID(); // UUID | Unique identifier for the SecureKey.
SecureKey secureKey = new SecureKey(); // SecureKey | Updated SecureKey details.

try {
SecureKey result = apiInstance.updateSecureKey(idsecureKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SecureKeyApi#updateSecureKey");
e.printStackTrace();
}

Parameters

NameTypeDescriptionNotes
idUUIDUnique identifier for the SecureKey.
secureKeySecureKeyUpdated SecureKey details.

Return type

SecureKey

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]