membershipsDestroy method

Future<void> membershipsDestroy(
  1. String id
)

Remove a project member. Only OWNERS can do this.

Parameters:

  • String id (required): A UUID string identifying this Project member.

Implementation

Future<void> membershipsDestroy(
  String id,
) async {
  final response = await membershipsDestroyWithHttpInfo(
    id,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}