Mapping

Delete multiple mapping rules

DEL
Deletes multiple mapping rules from a program

Path parameters

programIdstringRequired
ID of the program

Request

This endpoint expects an object.
ruleIds
list of stringsRequired
Array of rule IDs to be deleted

Response

This endpoint returns an object
data
objectOptional

Errors

DEL
1curl -X DELETE https://api.x.flatfile.com/v1/mapping/:programId/rules \
2 -H "X-Disable-Hooks: true" \
3 -H "Authorization: Bearer <token>" \
4 -H "Content-Type: application/json" \
5 -d '{
6 "ruleIds": [
7 "string"
8 ]
9}'
1{
2 "data": {
3 "success": true
4 }
5}