VoiceID / Client / delete_watchlist

delete_watchlist#

VoiceID.Client.delete_watchlist(**kwargs)#

Deletes the specified watchlist from Voice ID. This API throws an exception when there are fraudsters in the watchlist that you are trying to delete. You must delete the fraudsters, and then delete the watchlist. Every domain has a default watchlist which cannot be deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_watchlist(
    DomainId='string',
    WatchlistId='string'
)
Parameters:
  • DomainId (string) –

    [REQUIRED]

    The identifier of the domain that contains the watchlist.

  • WatchlistId (string) –

    [REQUIRED]

    The identifier of the watchlist to be deleted.

Returns:

None

Exceptions

  • VoiceID.Client.exceptions.ResourceNotFoundException

  • VoiceID.Client.exceptions.ValidationException

  • VoiceID.Client.exceptions.ConflictException

  • VoiceID.Client.exceptions.InternalServerException

  • VoiceID.Client.exceptions.ThrottlingException

  • VoiceID.Client.exceptions.AccessDeniedException