---
title: "POST /v1/{+parent}/userCreds"
method: POST
path: "/v1/{+parent}/userCreds"
tags: ["projects"]
---

# POST /v1/{+parent}/userCreds

`POST /v1/{+parent}/userCreds`

Create a user creds.

## Path parameters

- `parent` string, required

## Query parameters

- `userCredsId` string

## Request body

- GoogleFirestoreAdminV1UserCreds — A Cloud Firestore User Creds.
  - `name` string — Identifier. The resource name of the UserCreds. Format: `projects/{project}/databases/{database}/userCreds/{user_creds}`
  - `createTime` string, google-datetime — Output only. The time the user creds were created.
  - `securePassword` string — Output only. The plaintext server-generated password for the user creds. Only populated in responses for CreateUserCreds and ResetUserPassword.
  - `state` 'STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED' — Output only. Whether the user creds are enabled or disabled. Defaults to ENABLED on creation.
  - `updateTime` string, google-datetime — Output only. The time the user creds were last updated.
  - `resourceIdentity` GoogleFirestoreAdminV1ResourceIdentity — Describes a Resource Identity principal.
    - `principal` string — Output only. Principal identifier string. See: https://cloud.google.com/iam/docs/principal-identifiers

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firestore.md) · [All operations](https://skmtc.net/google/apis/firestore/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firestore/versions/11bc07a83431/schema)
