Materials
Bulk move materials to a different folder
OpenAPI specificationPOST
/api/v1/materials/bulk/moveAuthentication
x-api-key
Request
curl --globoff --request POST \
--url 'https://api.example.com/api/v1/materials/bulk/move' \
--header 'x-api-key: <API_KEY>' \
--header 'Content-Type: application/json' \
--data-raw '{
"materialIds": [
"<materialIds>"
],
"folderId": "<folderId>"
}'Replace credential and <field> placeholders with your own values. URL placeholders appear as %3Cfield%3E. Review the example values before sending your request.
Replace https://api.example.com with the API server URL.
Use the sample JSON body as your starting point, and enter values that match the endpoint's schema.
Request body schema or example
{
"type": "object",
"properties": {
"materialIds": {
"description": "Array of material IDs to move",
"type": "array",
"items": {
"type": "string"
}
},
"folderId": {
"type": "string",
"description": "Target folder ID (null for root)",
"nullable": true
}
},
"required": [
"materialIds",
"folderId"
]
}Responses
200Materials moved successfully
{
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "Operation success status"
},
"movedCount": {
"type": "number",
"description": "Number of materials moved"
}
},
"required": [
"success",
"movedCount"
]
}