Method: keyboxes.pgpkey.update

Updates company's current PGP public key.

HTTP request

POST https://androidpartner.googleapis.com/v1/keyboxes/pgpkey:update

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "companyId": string,
  "pgpKey": string
}
Fields
companyId

string (int64 format)

Company ID.

pgpKey

string

A PGP public key; Empty string if update process failed.

Response body

If successful, the response body will be empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidPartner

For more information, see the OAuth 2.0 Overview.