cURL
curl --request PATCH \ --url https://api.example.com/api/reports/{id} \ --header 'Content-Type: application/json' \ --cookie better-auth.session_token= \ --data ' { "name": "<string>", "description": "<string>", "type": "table", "query": {}, "config": {} } '
{ "id": "<string>", "userId": "<string>", "name": "<string>", "type": "table", "query": {}, "config": {}, "createdAt": "<string>", "updatedAt": "<string>", "organizationId": "<string>", "description": "<string>" }
Updates a report’s name, description, type, query, or visualization config.
1
table
Show child attributes
Default Response
Was this page helpful?