Connect / Client / delete_workspace_media

delete_workspace_media

Connect.Client.delete_workspace_media(**kwargs)

Deletes a media asset (such as a logo) from a workspace.

See also: AWS API Documentation

Request Syntax

response = client.delete_workspace_media(
    InstanceId='string',
    WorkspaceId='string',
    MediaType='IMAGE_LOGO_LIGHT_FAVICON'|'IMAGE_LOGO_DARK_FAVICON'|'IMAGE_LOGO_LIGHT_HORIZONTAL'|'IMAGE_LOGO_DARK_HORIZONTAL'
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • WorkspaceId (string) –

    [REQUIRED]

    The identifier of the workspace.

  • MediaType (string) –

    [REQUIRED]

    The type of media to delete. Valid values are: IMAGE_LOGO_FAVICON and IMAGE_LOGO_HORIZONTAL.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions