cURL
curl --request POST \ --url https://api.velt.dev/v2/organizations/folders/update \ --header 'Content-Type: application/json' \ --header 'x-velt-api-key: <x-velt-api-key>' \ --header 'x-velt-auth-token: <x-velt-auth-token>' \ --data '{ "data": { "organizationId": "<string>", "folders": [ { "folderId": "<string>", "folderName": "<string>", "parentFolderId": "<string>" } ] } }'
{ "result": { "status": "success", "message": "Folder Updated successfully.", "data": { "yourFolderId": { "success": true, "id": "yourFolderId", "message": "Folder Updated." } } } }
POST https://api.velt.dev/v2/organizations/folders/update
Show properties
{ "data": { "organizationId": "yourOrganizationId", "folders": [ { "folderId": "yourFolderId", "folderName": "yourFolderName", "parentFolderId": "yourParentFolderId" } ] } }
{ "error": { "message": "ERROR_MESSAGE", "status": "INVALID_ARGUMENT" } }
Was this page helpful?