Method: consentStores.create

Stay organized with collections Save and categorize content based on your preferences.

Full name: projects.locations.datasets.consentStores.create

Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The name of the dataset this consent store belongs to.

Authorization requires the following IAM permission on the specified resource parent:

  • healthcare.consentStores.create

Query parameters



Required. The ID of the consent store to create. The string must match the following regex: [\p{L}\p{N}_\-\.]{1,256}. Cannot be changed after creation.

Request body

The request body contains an instance of ConsentStore.

Response body

If successful, the response body contains a newly created instance of ConsentStore.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.