Waiting for engine...
Skip to main content

deployedApiSubscriptionRegenerateApiKey

Replaces the Subscription's API Key with a newly generated one.

Input Parameters:

  • apiKeyId: API Key ID of the subscription to regenerate the key for.

Response:

  • Returns the DeployedApiSubscription object with new API key and complete subscription details.

Example Request:

mutation deployedApiSubscriptionRegenerateApiKey($apiKeyId: ID!) {
deployedApiSubscriptionRegenerateApiKey(
apiKeyId: $apiKeyId
) {
apiKeyId,
status,
startDate,
expirationDate,
approvalDate,
consumerMessage,
producerMessage,
generatedBy,
generatedDate,
statusChangedBy,
statusChangedDate
}
}

deployedApiSubscriptionRegenerateApiKey(
apiKeyId: ID!
): DeployedApiSubscription!

Arguments

deployedApiSubscriptionRegenerateApiKey.apiKeyId ● ID! non-null scalar miscellaneous

Type

DeployedApiSubscription object platform

On this Page