cURL
curl --request PATCH \ --url https://api.example.com/cyber/preferences \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "userHash": "<string>", "allowWeeklyReport": true } '
{ "message": "Preferências atualizadas com sucesso." }
Atualiza as configurações e preferências do usuário.
curl -X PATCH "https://api.partner.zentek.com.br/v1/cyber/preferences" \ -H "Content-Type: application/json" \ -H "x-api-key: SUA_API_KEY" \ -d '{ "allowWeeklyReport": true, "userHash": "a1b2c3d4e5f6..." }'
Was this page helpful?