Skip to main content

restApiKeyUpdate

Updates an existing REST API key.

Errors: REST_API_KEY_UPDATE_ERROR, REST_API_KEY_NOT_FOUND_ERROR if API key doesn't exist.

AUTH: Role=[apikey.OWNER,apikey.EDITOR]

restApiKeyUpdate(
id: String!
input: RestApiKeyUpdateInput!
): RestApiKey!

Arguments

restApiKeyUpdate.id ● String! non-null scalar

Unique identifier of the REST API key to update.

restApiKeyUpdate.input ● RestApiKeyUpdateInput! non-null input

Updated REST API key configuration data.

Type

RestApiKey object

Represents a REST API key with encrypted client ID and secret storage