Skip to Content
Servers

Rotate the key used to access the server

POST
/servers/{server_id}/rotate-key

Path Parameters

server_id*integer

The ID of the server.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

No Content

Example Request
curl -X POST 'https://api.devopness.com/servers/123/rotate-key' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response
Empty