Codevisor Docs
Api reference

POST Workspaces Id Archive

POST/v1/workspaces/{id}/archive

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

callerAgentId?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/workspaces/string/archive" \  -H "Content-Type: application/json" \  -d '{}'
{  "workspaceId": "string",  "archived": true,  "scheduled": true,  "message": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}