deleteOrgsIDOwnersID method

Future<void> deleteOrgsIDOwnersID(
  1. String userID,
  2. String orgID, {
  3. String? zapTraceSpan,
})

Remove an owner from an organization

Parameters:

  • String userID (required): The ID of the owner to remove.

  • String orgID (required): The organization ID.

  • String zapTraceSpan: OpenTracing span context

Implementation

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