Servers
Update an existing server
PUT
server_id*integerThe ID of the server.
Range
1 <= valueAccept*stringapplication/json
Content-Type*stringapplication/json
A JSON object containing the resource data
application/json- body
id*integerThe unique ID of the given Server.
ip_address?stringPublic ipv4 address for server access.
ssh_port?integerThe network port to which the SSH daemon is listening to SSH connections on the server. Must be between 22 and 65535.
max_parallel_actions?integerMaximum number of actions that can run in parallel on this server. 0 means no limit of simultaneous actions. 1 means just a single action will be started at a time to run on this server. Must be between 0 and 10.
credential_id?stringThe ID of the cloud credential.
No Content
curl -X PUT 'https://api.devopness.com/servers/123' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer <your_api_token>' \ -H 'Content-Type: application/json' \ -H 'Content-Type: application/json' \ -d '{ "id": 1}'Example Response
Empty