Tickets
This section details Ticket-related Linode CLI commands.
list
Aliases: ls
Returns a collection of Support Tickets on your Account.
Usage
The format accepted by this command.
linode-cli tickets list [-h] [--opened opened]
    [--updated updated] [--closed closed]
    [--order-by {opened,updated,closed}] [--order {asc,desc}]
Sample
Examples of how this command might be used.
linode-cli tickets list
Filterable Attributes
Arguments used to define a filter for response entries.
| Name | Type | Description | 
|---|---|---|
| --closed | str | The date and time this Ticket was closed. | 
| --opened | str | The date and time this Ticket was created. | 
| --updated | str | The date and time this Ticket was last updated. | 
Result Attributes
The attributes returned by this command.
| Name | Type | Example | Description | 
|---|---|---|---|
| attachments | []str | [“screenshot…enshot.txt”] | A list of filenames representing attached files associated with this Ticket. | 
| closable | bool | N/A | Whether the Support Ticket may be closed. | 
| closed | str | 2015-06-04T16:07:03 | The date and time this Ticket was closed. | 
| description | str | I am having …an reset it? | The full details of the issue or question. | 
| gravatar_id | str | 474a1b7373ae…49e69c36ce30 | The Gravatar ID of the User who opened this Ticket. | 
| id | int | 11223344 | The ID of the Support Ticket. | 
| opened | str | 2015-06-04T14:16:44 | The date and time this Ticket was created. | 
| opened_by | str | some_user | The User who opened this Ticket. | 
| status | str | open | The current status of this Ticket. | 
| summary | str | Having troubl…on my Linode | The summary or title for this Ticket. | 
| updated | str | 2015-06-04T16:07:03 | The date and time this Ticket was last updated. | 
| updated_by | str | some_other_user | The User who last updated this Ticket. | 
entity
| Name | Type | Example | Description | 
|---|---|---|---|
| entity.id | int | 10400 | The unique ID for this Ticket’s entity. | 
| entity.label | str | linode123456 | The current label of this entity. | 
| entity.type | str | linode | The type of entity this is related to. | 
| entity.url | str | /v4/linode/in…ances/123456 | The URL where you can access the object this event is for. | 
view
Returns a Support Ticket under your Account.
Usage
The format accepted by this command.
linode-cli tickets view [-h] [--opened opened]
    [--updated updated] [--closed closed]
    [--order-by {opened,updated,closed}] [--order {asc,desc}]
    ticketId
Sample
Examples of how this command might be used.
linode-cli tickets view 11223344
Parameters
Positional parameters used to define the resource this command should target.
| Name | Type | Description | 
|---|---|---|
| ticketId | int | The ID of the Support Ticket. | 
Result Attributes
The attributes returned by this command.
| Name | Type | Example | Description | 
|---|---|---|---|
| attachments | []str | [“screenshot…enshot.txt”] | A list of filenames representing attached files associated with this Ticket. | 
| closable | bool | N/A | Whether the Support Ticket may be closed. | 
| closed | str | 2015-06-04T16:07:03 | The date and time this Ticket was closed. | 
| description | str | I am having …an reset it? | The full details of the issue or question. | 
| gravatar_id | str | 474a1b7373ae…49e69c36ce30 | The Gravatar ID of the User who opened this Ticket. | 
| id | int | 11223344 | The ID of the Support Ticket. | 
| opened | str | 2015-06-04T14:16:44 | The date and time this Ticket was created. | 
| opened_by | str | some_user | The User who opened this Ticket. | 
| status | str | open | The current status of this Ticket. | 
| summary | str | Having troubl…on my Linode | The summary or title for this Ticket. | 
| updated | str | 2015-06-04T16:07:03 | The date and time this Ticket was last updated. | 
| updated_by | str | some_other_user | The User who last updated this Ticket. | 
entity
| Name | Type | Example | Description | 
|---|---|---|---|
| entity.id | int | 10400 | The unique ID for this Ticket’s entity. | 
| entity.label | str | linode123456 | The current label of this entity. | 
| entity.type | str | linode | The type of entity this is related to. | 
| entity.url | str | /v4/linode/in…ances/123456 | The URL where you can access the object this event is for. | 
create
Open a Support Ticket.
Usage
The format accepted by this command.
linode-cli tickets create [-h] [--domain_id domain_id]
    [--nodebalancer_id nodebalancer_id]
    [--lkecluster_id lkecluster_id] [--summary summary]
    [--firewall_id firewall_id] [--description description]
    [--database_id database_id] [--vpc_id vpc_id]
    [--longviewclient_id longviewclient_id] [--region region]
    [--managed_issue managed_issue] [--volume_id volume_id]
    [--linode_id linode_id] [--vlan vlan]
Sample
Examples of how this command might be used.
linode-cli tickets create \
    --description "I'm having trouble setting the root password on my Linode. I tried following the instructions but something is not working and I'm not sure what I'm doing wrong. Can you please help me figure out how I can reset it?" \
    --linode_id 123 \
    --summary "Having trouble resetting root password on my Linode"
Arguments
Additional fields used to execute this request.
| Name | Type | Example | Description | 
|---|---|---|---|
| --description * | str | I’m having tr…an reset it? | The full details of the issue or question. | 
| --summary * | str | Having troubl…on my Linode | The summary or title for this SupportTicket. | 
| --database_id | int | N/A | The ID of the Managed Database this ticket is regarding, if relevant. | 
| --domain_id | int | N/A | The ID of the Domain this ticket is regarding, if relevant. | 
| --firewall_id | int | N/A | The ID of the Firewall this ticket is regarding, if relevant. | 
| --linode_id | int | 123 | The ID of the Linode this ticket is regarding, if relevant. | 
| --lkecluster_id | int | 123 | The ID of the Kubernetes cluster this ticket is regarding, if relevant. | 
| --longviewclient_id | int | N/A | The ID of the Longview client this ticket is regarding, if relevant. | 
| --managed_issue | bool | N/A | Designates if this ticket is related to a Managed service. | 
| --nodebalancer_id | int | N/A | The ID of the NodeBalancer this ticket is regarding, if relevant. | 
| --region | str | N/A | The Region ID for the associated VLAN this ticket is regarding. | 
| --vlan | str | N/A | The label of the VLAN this ticket is regarding, if relevant. | 
| --volume_id | int | N/A | The ID of the Volume this ticket is regarding, if relevant. | 
| --vpc_id | int | N/A | The ID of the VPC this ticket is regarding, if relevant. | 
Result Attributes
The attributes returned by this command.
| Name | Type | Example | Description | 
|---|---|---|---|
| attachments | []str | [“screenshot…enshot.txt”] | A list of filenames representing attached files associated with this Ticket. | 
| closable | bool | N/A | Whether the Support Ticket may be closed. | 
| closed | str | 2015-06-04T16:07:03 | The date and time this Ticket was closed. | 
| description | str | I am having …an reset it? | The full details of the issue or question. | 
| gravatar_id | str | 474a1b7373ae…49e69c36ce30 | The Gravatar ID of the User who opened this Ticket. | 
| id | int | 11223344 | The ID of the Support Ticket. | 
| opened | str | 2015-06-04T14:16:44 | The date and time this Ticket was created. | 
| opened_by | str | some_user | The User who opened this Ticket. | 
| status | str | open | The current status of this Ticket. | 
| summary | str | Having troubl…on my Linode | The summary or title for this Ticket. | 
| updated | str | 2015-06-04T16:07:03 | The date and time this Ticket was last updated. | 
| updated_by | str | some_other_user | The User who last updated this Ticket. | 
entity
| Name | Type | Example | Description | 
|---|---|---|---|
| entity.id | int | 10400 | The unique ID for this Ticket’s entity. | 
| entity.label | str | linode123456 | The current label of this entity. | 
| entity.type | str | linode | The type of entity this is related to. | 
| entity.url | str | /v4/linode/in…ances/123456 | The URL where you can access the object this event is for. | 
close
Closes a Support Ticket you have access to modify.
Usage
The format accepted by this command.
linode-cli tickets close [-h] ticketId
Sample
Examples of how this command might be used.
linode-cli tickets close 11223344
Parameters
Positional parameters used to define the resource this command should target.
| Name | Type | Description | 
|---|---|---|
| ticketId | int | The ID of the Support Ticket. | 
replies
Returns a collection of replies to a Support Ticket on your Account.
Usage
The format accepted by this command.
linode-cli tickets replies [-h] [--order-by {}]
    [--order {asc,desc}] ticketId
Sample
Examples of how this command might be used.
linode-cli tickets replies 11223344
Parameters
Positional parameters used to define the resource this command should target.
| Name | Type | Description | 
|---|---|---|
| ticketId | int | The ID of the Support Ticket. | 
Result Attributes
The attributes returned by this command.
| Name | Type | Example | Description | 
|---|---|---|---|
| created | str | 2015-06-02T14:31:41 | The date and time this Ticket reply was created. | 
| created_by | str | John Q. Linode | The User who submitted this reply. | 
| description | str | Hello,nI’m s…Support Team | The body of this Support Ticket reply. | 
| from_linode | bool | true | If set to true, this reply came from a Linode employee. | 
| gravatar_id | str | 474a1b7373ae…49e69c36ce30 | The Gravatar ID of the User who created this reply. | 
| id | int | 11223345 | The unique ID of this Support Ticket reply. | 
reply
Adds a reply to an existing Support Ticket.
Usage
The format accepted by this command.
linode-cli tickets reply [-h] [--description description]
    ticketId
Sample
Examples of how this command might be used.
linode-cli tickets reply 11223344 \
    --description "Thank you for your help. I was able to figure out what the problem was and I successfully reset my password. You guys are the best!"
Parameters
Positional parameters used to define the resource this command should target.
| Name | Type | Description | 
|---|---|---|
| ticketId | int | The ID of the Support Ticket. | 
Arguments
Additional fields used to execute this request.
| Name | Type | Example | Description | 
|---|---|---|---|
| --description * | str | Thank you for…re the best! | The content of your reply. | 
Result Attributes
The attributes returned by this command.
| Name | Type | Example | Description | 
|---|---|---|---|
| created | str | 2015-06-02T14:31:41 | The date and time this Ticket reply was created. | 
| created_by | str | John Q. Linode | The User who submitted this reply. | 
| description | str | Hello,nI’m s…Support Team | The body of this Support Ticket reply. | 
| from_linode | bool | true | If set to true, this reply came from a Linode employee. | 
| gravatar_id | str | 474a1b7373ae…49e69c36ce30 | The Gravatar ID of the User who created this reply. | 
| id | int | 11223345 | The unique ID of this Support Ticket reply. |