deleteOrgsIDMembersID method

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

Remove a member from an organization

Parameters:

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

  • String orgID (required): The organization ID.

  • String zapTraceSpan: OpenTracing span context

Implementation

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