delete_documentation_version

APIGateway.Client.delete_documentation_version(**kwargs)

Deletes a documentation version.

See also: AWS API Documentation

Request Syntax

response = client.delete_documentation_version(
    restApiId='string',
    documentationVersion='string'
)
Parameters
  • restApiId (string) --

    [REQUIRED]

    The string identifier of the associated RestApi.

  • documentationVersion (string) --

    [REQUIRED]

    The version identifier of a to-be-deleted documentation snapshot.

Returns

None

Exceptions

  • APIGateway.Client.exceptions.BadRequestException
  • APIGateway.Client.exceptions.ConflictException
  • APIGateway.Client.exceptions.NotFoundException
  • APIGateway.Client.exceptions.UnauthorizedException
  • APIGateway.Client.exceptions.TooManyRequestsException