How do I restart my Linode via the API?

Linode Staff

How do I use the API to restart my Linode?

3 Replies

Does anyone know the answer?

Hi there — we have an existing Community question that details how to reboot your Linode via the API, here's the relevant snippet of the API call from that post:

curl -H "Content-Type: application/json" \
    -H "Authorization: Bearer $TOKEN" \
    -X POST \$LINODEID/reboot

As also called out in that post, you will need to replace $TOKEN with your API token, and $LINODEID with your Linode's ID.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct