Skip to content

Remove-TwitterListSubscription

SYNOPSIS

Unsubscribes the authenticating user from the specified list.

SYNTAX

ById (Default)

Remove-TwitterListSubscription -Id <String> [-WhatIf] [-Confirm] [<CommonParameters>]

ByList

Remove-TwitterListSubscription -List <List> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Unsubscribes the authenticating user from the specified list.

EXAMPLES

Example 1

PS > Remove-TwitterListSubscription -Id 1236361374567026688

Unsubscribe from the specified list.

Example 2

PS > Get-TwitterList -Slug ps7now-blog-week -OwnerUserName WindosNZ | Remove-TwitterListSubscription

Get the list specified by the slug and ower name, then unsubscribe from it.

PARAMETERS

-Id

The id of the list.

Type: String
Parameter Sets: ById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-List

A list object retrieved from Get-TwitterList.

Type: List
Parameter Sets: ByList
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

BluebirdPS.APIV1.List

OUTPUTS

None

NOTES

Online Version

Add-TwitterListSubscription

Get-TwitterListSubscription

Test-TwitterListSubscription

Get-TwitterList

Api Reference - POST lists/subscribers/destroy