Codevisor Docs
Api reference

Change a sandbox profile

PUT/v1/sandbox-profiles/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string
provider*string

Value in

  • "tart"
  • "tart-orchard"
  • "apple-container"
  • "e2b"
  • "modal"
  • "vercel"
  • "daytona"
accountId?string|null
values*

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/sandbox-profiles/string" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "provider": "tart",    "values": {}  }'
{  "id": "string",  "name": "string",  "provider": "tart",  "accountId": "string",  "values": {    "property1": "string",    "property2": "string"  },  "createdAt": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}