@@ -47,10 +47,11 @@ This token holds several meta datas, including the pce_id (id of user's meter) t
ProcessData -> StoreData
```
!!! info "to do"
:construction: Add request PCE's frequency :construction:
### On delete account
Grdf owns different type of meters, some are read twice a year (every six months therefore called 6M), others are 1M or 1D. Ecolyo could warn the user if its meter is not suited for the application use.
When deleting one's konnector account, src/onDeleteAccount.js is triggered. In order to facilitate a new oauth connection later on. It aims to remove user's consent between its grdf account and the Metropole de Lyon.
To do so, we use the secret credentials stored in account_type grdfgrandlyon.delete (see [cozy offical documentation](https://docs.cozy.io/en/cozy-stack/konnectors-workflow/#secrets-that-are-not-oauth) to know how we create a special account_type secret) to generate an access_token with enough permission to revoke any consents given to the Metropole.