Skip to main content

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

Successful Response

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"}}'