Type Alias OauthTokensAPI

type OauthTokensAPI = {
    clearCache: typeof clearCache;
    deleteOauthToken: typeof deleteOauthToken;
    getOauthTokens: typeof getOauthTokens;
}
Index

Properties

clearCache: typeof clearCache

Clears the cache for oauth-tokens api requests.

deleteOauthToken: typeof deleteOauthToken

Revokes a specific OAuth token by ID. Requesting user must have TenantAdmin role assigned to delete tokens owned by other users.

The ID of the token to revoke.

DeleteOauthTokenHttpError

getOauthTokens: typeof getOauthTokens

Retrieve list of OAuth tokens that the user has access to. Users assigned with a TenantAdmin role can list OAuth tokens generated for all users in the tenant.

an object with query parameters

GetOauthTokensHttpError