Skip to Content
Anuma SDKClientInternalFunctionsdeleteApiV1UserAgentConsentsByAgentId

deleteApiV1UserAgentConsentsByAgentId

deleteApiV1UserAgentConsentsByAgentId<ThrowOnError>(options: Options<DeleteApiV1UserAgentConsentsByAgentIdData, ThrowOnError>): RequestResult<DeleteApiV1UserAgentConsentsByAgentIdResponses, DeleteApiV1UserAgentConsentsByAgentIdErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1633 

Revoke per-platform agent consent

Revokes the authenticated user’s consent for an agent on a specific platform. Idempotent — returns 200 even when no active consent exists. Other platforms’ consents are unaffected.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<DeleteApiV1UserAgentConsentsByAgentIdData, ThrowOnError>

Returns

RequestResult<DeleteApiV1UserAgentConsentsByAgentIdResponses, DeleteApiV1UserAgentConsentsByAgentIdErrors, ThrowOnError>

Last updated on