Method: users.create
Przyznaj użytkownikowi dostęp do danego konta dewelopera.
Żądanie HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*}/users
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
To pole jest wymagane. Konto dewelopera, do którego chcesz dodać użytkownika. Format: programiści/{developer}
|
Treść żądania
Treść żądania zawiera wystąpienie elementu User
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję User
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/androidpublisher
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-22 UTC."],[[["Grants a user access to a specified developer account."],["Utilizes an HTTP POST request to `https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*}/users`."],["Requires a request body containing the user details as defined in the `User` object."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."],["A successful response returns the newly created `User` object."]]],["The core action is granting a user access to a developer account via a `POST` request to `https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*}/users`. The `parent` path parameter, formatted as `developers/{developer}`, specifies the target account. The request body must contain a `User` instance, and a successful response returns a newly created `User` instance. This action requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization.\n"]]