Skip to content
OpenPostDocs
OpenPostDocs
Editor Agent

Archive editor style

POST/editor-agent/styles/{id}/archive

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/editor-agent/styles/string/archive" \  -H "Content-Type: application/json" \  -d '{    "archived": true,    "expected_version": 1,    "workspace_id": "string"  }'
{  "$schema": "https://example.com/api/v1/schemas/EditorAgentEmptyOutputBody.json",  "ok": true}