Interface ApiKeyServiceAsync
-
- All Implemented Interfaces:
public interface ApiKeyServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceApiKeyServiceAsync.WithRawResponseA view of ApiKeyServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ApiKeyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
create
CompletableFuture<CreateApiKeyOutput> create(ApiKeyCreateParams params)
Create a new api_key. It is possible to have multiple API keys with the same name. There is no de-duplication
-
create
abstract CompletableFuture<CreateApiKeyOutput> create(ApiKeyCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<ApiKey> retrieve(ApiKeyRetrieveParams params)
Get an api_key object by its id
-
retrieve
abstract CompletableFuture<ApiKey> retrieve(ApiKeyRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ApiKeyListPageAsync> list()
List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first
-
list
abstract CompletableFuture<ApiKeyListPageAsync> list(ApiKeyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<ApiKeyListPageAsync> list(ApiKeyListParams params)
-
list
CompletableFuture<ApiKeyListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<ApiKey> delete(ApiKeyDeleteParams params)
Delete an api_key object by its id
-
delete
abstract CompletableFuture<ApiKey> delete(ApiKeyDeleteParams params, RequestOptions requestOptions)
-
-
-
-