| external help file | PSTodoist-help.xml |
|---|---|
| Module Name | PSTodoist |
| online version | |
| schema | 2.0.0 |
Updates a label
Update-TodoistLabel [-Id] <Int64> [[-Name] <String>] [[-Order] <Int32>] [[-Token] <String>]
[<CommonParameters>]
Updates a label. Only name supported in the current API (V8 beta) and not intendent etc. You must set either parameter Name, Token or both
Update-TodoistLabel -Id 1234 -Name "My updated label"
ID of existing label
Type: Int64
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseNew name of label
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseNew order of label
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseTodoist token if it's not set as a global variable with Set-TodoistToken
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: $Global:TodoistToken
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).