deleteCollaboration method

Future<void> deleteCollaboration({
  1. required String collaborationIdentifier,
})

Deletes a collaboration. It can only be called by the collaboration owner.

May throw AccessDeniedException. May throw InternalServerException. May throw ThrottlingException. May throw ValidationException.

Parameter collaborationIdentifier : The identifier for the collaboration.

Implementation

Future<void> deleteCollaboration({
  required String collaborationIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/collaborations/${Uri.encodeComponent(collaborationIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
}