Archive (or purge) a data-object definition

View as Markdown

Soft-archives a definition. Authorization: organization administrators only — other callers get 403. Query: purge=true forces removal even when live objects exist; without it, a definition that still has live objects returns 409 objects_exist (with count). Unknown id → 404. Returns the archived { definition }.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

definitionIdstringRequired

Query parameters

purgeenumOptional

Pass true to archive even when live objects still exist (they are left untouched).

Allowed values:

Response

The archived definition.
definitionobject

Errors

403
Forbidden Error
404
Not Found Error
409
Conflict Error