Codevisor Docs
Api reference

PATCH Bots Id

PATCH/v1/bots/{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|null
symbolName?string|null
mascot?|null
isArchived?boolean|null
configSelections?|null
about?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/bots/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "serverId": "string",  "name": "string",  "symbolName": "string",  "mascot": {    "color": "string",    "hat": "string",    "hatColor": "string",    "eyewear": "string",    "eyewearColor": "string"  },  "harnessId": "string",  "configSelections": {    "property1": "string",    "property2": "string"  },  "projectId": "string",  "sessionId": "string",  "workspaceId": "string",  "rootPath": "string",  "projects": [    {      "projectId": "string",      "folderName": "string",      "branch": "string",      "path": "string"    }  ],  "isArchived": true,  "archivedAt": "string",  "createdAt": "string",  "updatedAt": "string",  "about": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}