SecureKeyApi
valkyrai-api
All URIs are relative to http://localhost:8080/v1
Method | HTTP request | Description |
---|---|---|
deleteSecureKey | DELETE SecureKeyApi | Delete 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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the SecureKey. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the SecureKey. |
Return type
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
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
Name | Type | Description | Notes |
---|---|---|---|
secureKey | SecureKey | SecureKey details. |
Return type
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
Name | Type | Description | Notes |
---|---|---|---|
id | UUID | Unique identifier for the SecureKey. | |
secureKey | SecureKey | Updated SecureKey details. |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json
Generated Version Details
~ | value |
---|---|
GENERATOR VERSION | com.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT |
API ARTIFACT | com.valkyrlabs.valkyrai-api.jar |
GENERATOR VERSION | org.openapitools.openapi-generator:7.5.0 |
GENERATOR CLASS | org.openapitools.codegen.languages.SpringCodegen |
GENERATED DATE | 2025-04-09T20:27:13.881184-07:00[America/Los_Angeles] |