AplasAplas API Reference

Delete one relation

Removes exactly this relation, leaving every sibling — and their ordinals — untouched.

DELETE
/workspaces/{workspaceId}/asset-types/{typeId}/assets/{assetId}/relations/{relationshipType}/{targetType}/{targetId}

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.

typeId*string

The asset type's slug.

assetId*string

The asset's slug. Unique within its asset type, not across the workspace — which is why assets are addressed beneath their type.

relationshipType*string

The relationship type's slug.

targetType*string

The target asset's type slug.

targetId*string

The target asset's slug.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.au.aplas.com/api/v3/workspaces/string/asset-types/string/assets/string/relations/string/string/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."
}
{
  "statusCode": 403,
  "error": "Forbidden",
  "message": "The permissions of your API key only allow read-only/GET calls."
}