WickrAdminAPI / Client / delete_network

delete_network

WickrAdminAPI.Client.delete_network(**kwargs)

Deletes a Wickr network and all its associated resources, including users, bots, security groups, and settings. This operation is permanent and cannot be undone.

See also: AWS API Documentation

Request Syntax

response = client.delete_network(
    networkId='string',
    clientToken='string'
)
Parameters:
  • networkId (string) –

    [REQUIRED]

    The ID of the Wickr network to delete.

  • clientToken (string) –

    A unique identifier for this request to ensure idempotency. If you retry a request with the same client token, the service will return the same response without attempting to delete the network again.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'message': 'string'
}

Response Structure

  • (dict) –

    • message (string) –

      A message indicating that the network deletion has been initiated successfully.

Exceptions

  • WickrAdminAPI.Client.exceptions.ValidationError

  • WickrAdminAPI.Client.exceptions.BadRequestError

  • WickrAdminAPI.Client.exceptions.ResourceNotFoundError

  • WickrAdminAPI.Client.exceptions.ForbiddenError

  • WickrAdminAPI.Client.exceptions.UnauthorizedError

  • WickrAdminAPI.Client.exceptions.InternalServerError

  • WickrAdminAPI.Client.exceptions.RateLimitError