deleteSpace method
Deletes a space.
Parameter name :
The name of the space. To retrieve a list of space names, use
ListSpaces.
Implementation
Future<DeleteSpaceResponse> deleteSpace({
required String name,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/v1/spaces/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
return DeleteSpaceResponse.fromJson(response);
}