Database Management
Remove an Element from an Array in a Document
Remove an Element from an Array in a Document. You can pass in the Document ID and the Field/Key that you want to remove an element from and we will remove the element from the Array for you.
post/api/collections/data/array/update/remove
Request body
Example request
{
"collection": "Users",
"docId": "1234567890",
"field": "identities",
"arrayRemove": "sfdcsfc"
}Response
Output from the Database Collection Edits Process
Example response
{
"status": "success",
"processing_time": 888,
"processing_id": "4b139bfe-1f71-4345-b539-fa6c1700f166",
"processing_count": 6554,
"data": {
"databaseId": "1234567890",
"collection": "Users",
"elapsed_time": 800,
"documentId": "1234567890"
}
}