ts.org.archive

Archive an organization with cascade.

Archive an organization with cascade.

Requires authentication

Description

Archives an organization and cascades to all associated endeavours and tasks.

Use confirm=false (default) for a dry-run that shows what would be archived. Use confirm=true to execute the archive operation.

Parameters

NameTypeRequiredDefaultDescription
idstringYesOrganization ID
reasonstringYesReason for archiving
confirmbooleanfalseExecute the archive (false = dry-run)

Response

Returns the archive result or dry-run summary.

{
  "archived": true,
  "id": "org_1d9cb149497656c7...",
  "reason": "Project completed"
}

Errors

CodeDescription
not_authenticatedNo active login for this session
not_foundOrganization not found
forbiddenAdmin privileges required