Admin API / Mutations

deleteApiClient

Deletes a storefront API client and revokes its keys. Sign-in on its redirect URIs and calls with its key stop within about 60 seconds. A repeat for a deleted client returns the same success. It reaches only a public client with no scopes and no handoff targets, such as one that createApiClient creates. Requires the OWNER role or higher.

Requires a client key with one of these scopes: admin:clients:manageRequires this member role or higher: OWNER
deleteApiClient(
  input: DeleteApiClientInput!
): DeleteApiClientPayload!

Arguments

ArgumentTypeDescription
inputDeleteApiClientInput!The client to delete.

Return type

DeleteApiClientPayload!