CentralCSP
APIWebsites

Reset website reports

Deletes every report stored for this website and the technology inventory built from them. The website keeps collecting new reports, and usage already counted this period is unchanged. This cannot be undone.

Requires the admin role on the website.

POST
/v1/workspaces/{workspaceId}/websites/{websiteId}/reset-reports

Authorization

headerAuthorizationBearer <JWT>

An OpenID Connect access token from signing in to CentralCSP, acting as the signed-in user.

Path Parameters

workspaceId*string

The workspace's id.

websiteId*string

The website's id.

Response Body

The reports and technology inventory are deleted.

Example Request
curl -X POST 'https://api.centralcsp.com/v1/workspaces/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/websites/01936b7a-6f2e-7c31-9a4d-2f8e1c5b7d90/reset-reports'
Example Response
Empty