# Revoke consent

DELETE https://api.bb.no/v1/user/applications/consent/{clientId}

Revokes the access you have given the OAuth2 application with this client ID.

## Authentication

x-bb-api-key: Public part of your API key. Starts with `bb/public/`.

Or:

OAuth: Authorization: Bearer <access token>. Any OAuth2 access token is accepted.

[API keys and signing](https://barebitcoin.no/developers/authentication/api-keys)

## Parameters

### clientId

path parameter · string · required





## Examples

### API key

```sh
curl -X DELETE \
  https://api.bb.no/v1/user/applications/consent/REPLACE_CLIENTID \
  -H "x-bb-api-key: $BB_API_KEY"
```


### OAuth

```sh
curl -X DELETE \
  https://api.bb.no/v1/user/applications/consent/REPLACE_CLIENTID \
  -H "Authorization: Bearer $BB_TOKEN"
```



## Responses

### 200

OK



Source: https://barebitcoin.no/developers/api/accounts/revoke-consent
