Merge update realtime DB node
PATCH/realtime/db/:path
Merges object keys into the existing value at the given path. Child keys in the payload are updated or created; other keys are left unchanged.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Request example
{
"value": {
"status": "offline"
}
}
cURL example
curl -X PATCH "https://mw-client-api.wonderfulcoast-218d579d.centralindia.azurecontainerapps.io/realtime/db/users/alice" \
-H "x-client-id: <client-id>" \
-H "x-client-secret: <client-secret>" \
-H "Authorization: Bearer <access-token>" \
-H "Content-Type: application/json" \
-d '{"value":{"status":"offline"}}'