👋 Welcome to the new Omni docs! We're still migrating, but the old docs are available at docs-legacy.omni.co.
cURL
curl --request PUT \ --url https://{instance}.omniapp.co/api/v1/documents/{identifier}/move \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "folderPath": "<string>", "scope": "organization" } '
{ "success": true }
Move document to new folder or change scope
Use either an Organization API Key or Personal Access Token (PAT). Include in the Authorization header as: Bearer YOUR_TOKEN
Bearer YOUR_TOKEN
Document identifier
Destination folder path or null for root
Document scope
organization
restricted
Document moved successfully
true
Was this page helpful?