Bulk create, upsert, or delete resources
Bulk create, upsert, or delete resources. The request body should contain a list of operations. All operations will be processed even if some of them fail.
In: header
Path Parameters
The source key.
Request Body
application/json
The request body should contain a list of resources to create, upsert, or delete. Operations of different types (e.g., "CREATE", "UPSERT") can be mixed and will be processed in the order they are provided.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sources/string/v1/resources/bulk" \ -H "Content-Type: application/json" \ -d '{ "operations": [ { "action": "CREATE", "create": { "type": "string", "data": {} } } ] }'{ "taskId": "string", "status": "ACCEPTED"}Bulk create, upsert, or delete relationships POST
Bulk create, upsert, or delete relationships. The request body should contain a list of operations. All operations will be processed even if some of them fail.
Bundle resource and relationship operations to be processed POST
Send a bundle of operations, including resource and relationship operations, to be processed atomically by the system. Notes: - Order of Processing: Resource operations are executed first, followed by relationship operations. - Atomicity: The system processes the entire bundle as a single atomic transaction. - If all operations succeed, the changes are committed. - If any operation fails, all operations are rolled back, ensuring no partial changes.