salesforce
Atualizar consentimento no Salesforce
Changed onProxy PATCH /api/private/cidadao/{cpf}/consentimento com o JWT do usuário. categoria é picklist SF (ex. PREF_Lembrete_Pagamento). motivo obrigatório se acao=optout. Espelho no RMI grava só salesforce_consentimentos; não altera opt_in nem category_opt_ins.
patch/salesforce/cidadao/{cpf}/consentimento
Request
- Base URL: http://localhost:8080/v1
- URL: http://localhost:8080/v1/salesforce/cidadao/{cpf}/consentimento
- Auth: API key in header Authorization
Path parameters
cpfstring required
CPF do cidadão
Request body
Response
Consentimento atualizado (sem corpo). 409 do Salesforce (já no status) é tratado como 200.
Changes
- info
removed the non-success response with the status
- info
- info
endpoint added
- info