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