createAdminApiKey abstract method
- @POST.new('/admin/api-keys')
- @Body.new() required CreateAdminApiKeyRequest body,
Create admin API key.
Generates a new API key for administrative operations. The key is returned only once at creation time. Includes expiration settings and access control lists (ACLs) to limit the key's permissions.
body - Name not received - field will be skipped.
Implementation
@POST('/admin/api-keys')
Future<CreateAdminApiKeyResponse> createAdminApiKey({
@Body() required CreateAdminApiKeyRequest body,
});