/ics/v3/session/{sessionId}/consent

Beta: This endpoint is currently in beta. It is only available for some Danish banks (BEC, Bankdata, Danske Bank, Lunar and Nordea), and it is subject to change. Other banks answer with error 1063.

Revokes the bank consent of a session at the bank. The session itself is kept and can be used to grant a new consent.

The call succeeds only when the bank confirms the revocation, or reports that the consent is already gone; Neonomics then stops using the consent. If the bank cannot or will not revoke, an error is returned and nothing changes. Repeating the call is safe: it returns ALREADY_REVOKED with the time of the original revocation.

A session holds one bank consent at a time. Revoke it before granting a new consent on the same session: a new consent replaces the previous one, which can then no longer be revoked.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier for a session.

Query Params
string
enum
Defaults to accounts

The consent scope to revoke. Only accounts is accepted today, and it is the default; any other value is rejected with 1051.

Allowed:
string
enum
required

The category of accounts the consent was granted for, so it must match the consent: PERSONAL for a consent granted with scope accounts, BUSINESS for one granted with scope business-accounts. A missing or unknown value is rejected with 1002.

Allowed:
Headers
string
required

String that uniquely identifies a single end-user or device.

string

The host where the request is originating from.
If you are using end to end encryption from our developer portal then this header is mandatory.

string

The request originating date.
If you are using end to end encryption from our developer portal then this header is mandatory.

string

The signature header consisting of the signature string
If you are using end to end encryption from our developer portal then this header is mandatory.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json