patchOrgsIDSecrets method

Future<void> patchOrgsIDSecrets(
  1. String orgID,
  2. Map<String, String> requestBody, {
  3. String? zapTraceSpan,
})

Update secrets in an organization

Parameters:

  • String orgID (required): The organization ID.

  • Map<String, String> requestBody (required): Secret key value pairs to update/add

  • String zapTraceSpan: OpenTracing span context

Implementation

Future<void> patchOrgsIDSecrets(String orgID, Map<String, String> requestBody,
    {String? zapTraceSpan}) async {
  final response = await patchOrgsIDSecretsWithHttpInfo(orgID, requestBody,
      zapTraceSpan: zapTraceSpan);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}