AplasAplas API Reference

Archive a view

CASCADES: every live publication targeting this view is archived with it, and each of their slugs is freed for reuse — a publication over an archived view would otherwise stay live at its public URL.

The view's OWN slug is not freed.

DELETE
/workspaces/{workspaceId}/views/{viewId}

Authorization

BearerAuth
AuthorizationBearer <token>

API authentication via Authorization: Bearer <your-api-key>. Obtain your API key from Config → API in the Aplas web app.

In: header

Path Parameters

workspaceId*string

The workspace's slug.

viewId*string

The view's slug.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.au.aplas.com/api/v3/workspaces/string/views/string"
Empty
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "The permissions of your API key only allow read-only/GET calls."
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "The permissions of your API key only allow read-only/GET calls."
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "The permissions of your API key only allow read-only/GET calls."
}