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>"
}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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Was this page helpful?