Unarchive Organization or Workspace
Unarchives a previously archived organization or workspace by ID. When unarchiving an organization, all associated workspaces, assistants and campaigns are also unarchived in a cascading manner. When unarchiving a workspace, the parent organization must not be archived; if the parent organization is still archived, the request will fail with a 400 error. Requires admin or organization_admin role.
Body
The entity type to archive or unarchive. Use "organization" to target an organization (cascades to all workspaces, assistants, and campaigns). Use "workspace" to target a single workspace (cascades to its assistants and campaigns).
organization, workspace "organization"
The MongoDB ObjectId of the organization or workspace to archive/unarchive.
^[0-9a-fA-F]{24}$"507f1f77bcf86cd799439011"