diff --git a/docs/konnectors/grdf.md b/docs/konnectors/grdf.md index 43ea91c473e6c008b054708d9377524c267933d2..647d04e03482aa7a510f59e3f0d69c3f5ce21c60 100644 --- a/docs/konnectors/grdf.md +++ b/docs/konnectors/grdf.md @@ -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. ## Launch on standalone