PATCH
/
api
/
resources
/
{schemaDefinitionNameOrId}
/
batch
Batch Patch Resources
curl --request PATCH \
  --url https://api.embedreach.com/api/resources/{schemaDefinitionNameOrId}/batch \
  --header 'Content-Type: application/json' \
  --data '{
  "resources": [
    {}
  ]
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "batchId": "<string>",
    "message": "<string>",
    "recordCount": 123,
    "schemaDefinitionId": "<string>"
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Path Parameters

schemaDefinitionNameOrId
string
required

The name or id of the schema definition to update the resources in

Query Parameters

ignoreUnknownFields
boolean | null
default:false

Whether to allow extra fields that are not defined in the schema. If true, extra fields will be accepted but not saved. If false, requests with extra fields will be rejected.

Body

application/json

Response

202
application/json

Status 202 response

The response is of type object.