postOrgsIDSecrets method

Future<void> postOrgsIDSecrets(
  1. String orgID,
  2. SecretKeys secretKeys, {
  3. String? zapTraceSpan,
})

Delete secrets from an organization

Parameters:

  • String orgID (required): The organization ID.

  • SecretKeys secretKeys (required): Secret key to delete

  • String zapTraceSpan: OpenTracing span context

Implementation

Future<void> postOrgsIDSecrets(String orgID, SecretKeys secretKeys,
    {String? zapTraceSpan}) async {
  final response = await postOrgsIDSecretsWithHttpInfo(orgID, secretKeys,
      zapTraceSpan: zapTraceSpan);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}