create abstract method
- @POST.new("/api-key/create")
- @Body.new() required CreateApiKeyBody body,
Creates a key. The returned ApiKey.key is the only time the full secret
is exposed.
Implementation
@POST("/api-key/create")
Future<Result<ApiKey>> create({@Body() required CreateApiKeyBody body});