티스토리 수익 글 보기
Method: domains.users.create
Stay organized with collections
Save and categorize content based on your preferences.
Creates a user, who has access to a domain. Returns INVALID_ARGUMENT if a user is not provided.
HTTP request
POST https://gmailpostmastertools.googleapis.com/v2/{parent=domains/*}/users
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource where this user will be created. Format: domains/{domain} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"userId": string,
"permission": enum ( |
| Fields | |
|---|---|
userId |
Required. The user to create. |
permission |
Optional. Specifies the permission level to give the user for the specified domain. If not specified, the default value for this field is READER. |
Response body
If successful, the response body contains a newly created instance of User.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-25 UTC.