https://api.graze.social/app/api/v1/privacy-compliance
/request-removalSubmit a data removal request for a user account associated with the provided email address.
URL: POST https://api.graze.social/app/api/v1/privacy-compliance/request-removal
Headers:
Content-Type: application/jsonRequest Body:
{
"email": "string"}Parameters:
FieldTypeRequiredDescriptionemailstringYesThe email address associated with the account to be removed
Success Response (200 OK):
{
"filed": true}Response Fields:
FieldTypeDescriptionfiledbooleanAlways true when the request is successfully filed
PatreonUser and Account tablesDataRemovalRequest record with:patreon_user_id (if found)account_id (if found)complied_at to the current UTC timestampcurl -X POST "https://api.graze.social/app/api/v1/privacy-compliance/request-removal" \
-H "Content-Type: application/json" \ -d '{"email": "user@example.com"}'{
"filed": true}/request-statsRetrieve statistics about data removal requests.
URL: POST https://api.graze.social/app/api/v1/privacy-compliance/request-stats
Query Parameters:
ParameterTypeDefaultDescriptioninclude_deletedbooleanfalseInclude deleted requests in the statistics calculations
Success Response (200 OK):
{
"total_requests": 150, "complied_requests": 120, "denied_requests": 5, "median_response_days": 3.0, "mean_response_days": 4.2, "include_deleted": false}Response Fields:
FieldTypeDescriptiontotal_requestsintegerTotal number of data removal requestscomplied_requestsintegerNumber of requests that have been complied withdenied_requestsintegerNumber of requests that have been deniedmedian_response_daysfloatMedian number of days to comply with requestsmean_response_daysfloatAverage number of days to comply with requestsinclude_deletedbooleanWhether deleted requests were included in the calculations
include_deleted=true)created_at and complied_atcurl -X POST "https://api.graze.social/app/api/v1/privacy-compliance/request-stats?include_deleted=false"
{
"total_requests": 250, "complied_requests": 230, "denied_requests": 10, "median_response_days": 2.0, "mean_response_days": 3.5, "include_deleted": false}median_response_days and mean_response_days) are only calculated for complied requests