REST Resource: organizations.developers.apps.keys

Resource: DeveloperAppKey

JSON representation
{
  "apiProducts": array,
  "attributes": [
    {
      object (Attribute)
    }
  ],
  "consumerKey": string,
  "consumerSecret": string,
  "expiresAt": string,
  "issuedAt": string,
  "scopes": [
    string
  ],
  "status": string
}
Fields
apiProducts

array (ListValue format)

A list of api products this credential can be used for.

attributes[]

object (Attribute)

A list of attributes tied to the credential.

consumerKey

string

The consumer key.

consumerSecret

string

The secret key.

expiresAt

string (int64 format)

Unix time when the app was created json key: expiresAt

issuedAt

string (int64 format)

Unix time when the app was issued json key: issuedAt

scopes[]

string

The scopes to apply to the app. The specified scope names must already exist on the API product that you associate with the app.

status

string

The status of the credential.

Methods

create

Creates a custom consumer key and secret for a developer app.

delete

Deletes a consumer key that belongs to an app, and removes all API products associated with the app.

get

Returns details for a consumer key for a developer app, including the key and secret value, associated API products, and other information.

replaceDeveloperAppKey

Updates the scope of an app.

updateDeveloperAppKey

Adds an API product to a developer app key, enabling the app that holds the key to access the API resources bundled in the API product.