Table of Contents

Method RevokeApiKey

Namespace
Zedal.Sdk.Apis.Core
Assembly
Zedal.Sdk.dll

RevokeApiKey(string, ZedalCallContext)

Revokes an API key of the calling account; the main account may also revoke the keys of its subaccounts. No new access token can be obtained with the key afterwards. Requires scope usermgt.

Task RevokeApiKey(string keyId, ZedalCallContext context = default)

Parameters

keyId string

the id from CreateApiKey(string, string, IEnumerable<string>, DateTimeOffset?, ZedalCallContext) or ListApiKeys(ZedalCallContext).

context ZedalCallContext

Optionale Deadline-/Cancellation-Steuerung; ohne Angabe gilt der Client-Default.

Returns

Task

A Task representing the asynchronous operation.