Skip to main content
POST
/
servers
/
{id}
/
files
/
write
Write file
curl --request POST \
  --url https://your-domain.com/api/client/v1/servers/{id}/files/write \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: text/plain' \
  --data '<string>'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Server UUID.

Query Parameters

file
string
required

Body

text/plain

The body is of type string.

Response

Written

ok
boolean