Create dms_storage_backend
POST/v1/dms_storage_backends
Create a new dms_storage_backend in the active tenant.
Data model
This operation works on the entity DMS Storage Backend (dms_storage_backend). All 15 fields — type, validation, required status, relationships — are listed in the schema reference.
-
Required fields:
name,kind,config -
Server-managed:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,config.subscriptionId,config.subscriptionExpiresAt,config.deltaToken,config.appPasswordCipherRef,config.passwordCipherRef,lastHealthCheckAt,lastHealthOk,lastHealthDetails— the platform assigns these fields; they are discarded in the request.
Example
curl -X POST https://api.codemeta-os.de/v1/dms_storage_backends \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.dms_storage_backends.post();Response codes
| HTTP | Meaning |
|---|---|
200 |
Default Response |