Method: enterprises.enrollmentTokens.create
特定の企業の登録トークンを作成します。新しく作成されたトークンのライフサイクルを管理し、使用しなくなったトークンを deleting
するのは、呼び出し元の責任です。
HTTP リクエスト
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
エンタープライズの名前(enterprises/{enterpriseId} の形式)。
|
リクエストの本文
リクエストの本文には EnrollmentToken
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された EnrollmentToken
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidmanagement
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-30 UTC。
[null,null,["最終更新日 2025-01-30 UTC。"],[[["Creates enrollment tokens for enterprises, allowing the caller to manage their lifecycle, including deletion when no longer needed."],["Uses an HTTP POST request to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/enrollmentTokens` with the enterprise name specified in the path parameter."],["Requires an `EnrollmentToken` object in the request body and returns a newly created `EnrollmentToken` object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope for access."]]],[]]