Set/overwrite realtime DB node
PUT/realtime/db/:path
Sets the value at the given realtime DB path. Behaves like Firebase set: replaces the subtree under the path.
Request
Responses
- 200
- 400
- 401
- 403
- 422
Successful Response
Bad Request
Unauthorized
Forbidden
Validation Error
Request example
{
"value": {
"name": "Alice",
"status": "online"
}
}
cURL example
curl -X PUT "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":{"name":"Alice","status":"online"}}'