deleteDocumentationPart method
Deletes a documentation part
May throw BadRequestException.
May throw ConflictException.
May throw NotFoundException.
May throw TooManyRequestsException.
May throw UnauthorizedException.
Parameter documentationPartId :
The identifier of the to-be-deleted documentation part.
Parameter restApiId :
The string identifier of the associated RestApi.
Implementation
Future<void> deleteDocumentationPart({
required String documentationPartId,
required String restApiId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/restapis/${Uri.encodeComponent(restApiId)}/documentation/parts/${Uri.encodeComponent(documentationPartId)}',
exceptionFnMap: _exceptionFns,
);
}