projectsDestroy method

Future<void> projectsDestroy(
  1. String id
)

Remove a project. Only members with role OWNER can do this.

Parameters:

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

Implementation

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