Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
89 lines (66 sloc) 1.55 KB
external help file Module Name online version schema
PSTodoist-help.xml
PSTodoist
2.0.0

Update-TodoistComment

SYNOPSIS

Updates a comment

SYNTAX

Update-TodoistComment [-Id] <Int64> [-Content] <String> [[-Token] <String>] [<CommonParameters>]

DESCRIPTION

Updates a comment. Only name supported in the current API (V8 beta) and not intendent etc.

EXAMPLES

EXAMPLE 1

Update-TodoistComment -Id 1234 -Name "My updated comment"

PARAMETERS

-Id

Id of the COMMENT

Type: Int64
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Content

Content of the comment. Sorry, updating attachments not yet supported

Type: String
Parameter Sets: (All)
Aliases:

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

-Token

Todoist token if it's not set as a global variable with Set-TodoistToken

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: $Global:TodoistToken
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS