Method: projects.updateRemoteConfig

Publish a project's Remote Config template.

Pass the ETag returned by projects.getRemoteConfig as an If-Match header to ensure the last seen Remote Config template is the one being overwritten by this update. Pass If-Match: * to force an update, regardless of the current version.

Returns the published RemoteConfig and the updated ETag as a response header if successful, or an error.

See the publishing guide for a list of error codes.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The Firebase project's Project ID or Project Number, prefixed with "projects/".

Query parameters



Optional. Defaults to false. If true, the server will only attempt to validate the RemoteConfig. If validation succeeds, the RemoteConfig is not written to the Remote Config server, instead a 200 OK response is returned. If validation fails, a validation error is returned.

Note: other errors may still occur after this boolean is set to false, even if getting a 200 OK when calling with projects.updateRemoteConfig with validateOnly set to true.

Request body

The request body contains an instance of RemoteConfig.

Response body

If successful, the response body contains an instance of RemoteConfig.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the OAuth 2.0 Overview.