Method: users.create
Cấp cho người dùng quyền truy cập vào tài khoản nhà phát triển nhất định.
Yêu cầu HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*}/users
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
parent |
string
Bắt buộc. Tài khoản nhà phát triển mà bạn muốn thêm người dùng vào. Định dạng: Developers/{developer}
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của User
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một thực thể mới được tạo của User
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidpublisher
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-22 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]