Method: enterprises.webTokens.create
Crea un token web per accedere a un'interfaccia utente web della versione gestita di Google Play incorporabile per una determinata azienda.
Richiesta HTTP
POST https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/webTokens
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
parent |
string
Il nome dell'azienda nel formato enterprises/{enterpriseId} .
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di WebToken
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di WebToken
appena creata.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/androidmanagement
Per ulteriori informazioni, consulta la sezione OAuth 2.0 Overview.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-29 UTC.
[null,null,["Ultimo aggiornamento 2025-01-29 UTC."],[[["Creates a web token for accessing an embeddable managed Google Play web UI for a given enterprise."],["Uses a POST request to `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/webTokens` with the enterprise name as a path parameter."],["Requires a request body containing a WebToken object and provides a newly created WebToken object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidmanagement` scope."]]],["This outlines the process to create a web token for accessing a managed Google Play web UI. A `POST` HTTP request is sent to a specified URL, including a `parent` path parameter that identifies the enterprise. The request body requires a `WebToken` instance. Upon success, the response body returns a newly created `WebToken` instance. This action requires the `https://www.googleapis.com/auth/androidmanagement` OAuth scope for authorization. The complete path to the resource is: `https://androidmanagement.googleapis.com/v1/{parent=enterprises/*}/webTokens`.\n"]]