Method: users.create
به یک کاربر به حساب توسعه دهنده داده شده دسترسی بدهید.
درخواست HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/{parent=developers/*}/users
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
parent | string ضروری. حساب توسعه دهنده برای اضافه کردن کاربر. قالب: توسعه دهندگان/{توسعه دهنده} |
درخواست بدن
بدنه درخواست شامل یک نمونه از User
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی یک نمونه جدید از User
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidpublisher
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-30 بهوقت ساعت هماهنگ جهانی."],[[["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"]]