Skip to main content
POST
/
io.pocketenv.sandbox.putPreferences
Update sandbox preferences.
curl --request POST \
  --url https://api.pocketenv.io/xrpc/io.pocketenv.sandbox.putPreferences \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sandboxId": "<string>",
  "preferences": [
    {
      "name": "<string>",
      "description": "<string>",
      "topics": [
        "<string>"
      ],
      "repo": "<string>",
      "vcpus": 2,
      "memory": 2,
      "disk": 4,
      "readme": "<string>"
    }
  ]
}
'
{
  "error": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
sandboxId
string
required

The sandbox ID or URI

preferences
object[]
required

Response

OK