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(pagesizesort)

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();
Integer page = 0; // Integer |
Integer size = 20; // Integer |
List<String> sort = Arrays.asList(); // List<String> |

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

Parameters

NameTypeDescriptionNotes
pageInteger[optional] [default to 0]
sizeInteger[optional] [default to 20]
sortList<String>[optional]

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.1-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-09-03T16:35:42.569765-07:00[America/Los_Angeles]