Codevisor Docs
Api reference

POST First Run Folders Id

POST/v1/first-run/folders/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

access*string

Value in

  • "allow"
  • "decline"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/first-run/folders/string" \  -H "Content-Type: application/json" \  -d '{    "access": "allow"  }'
{  "state": "notApplicable",  "harnesses": [    {      "id": "string",      "name": "string"    }  ],  "projects": [    {      "id": "string",      "name": "string"    }  ],  "folders": [    {      "id": "string",      "name": "string",      "path": "string",      "projects": [        "string"      ]    }  ],  "claudeCodeLogin": {    "email": "string"  }}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}