Revoke the run’s public report
DELETE
/v1/runs/{id}/public-report
const url = 'https://beta-api.plune.ai/v1/runs/example/public-report';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://beta-api.plune.ai/v1/runs/example/public-report \ --header 'Authorization: Bearer <token>'Deletes the link (#1263): from this call on the old address answers 404, exactly as an address that never existed does. This is also how an owner gets a new link: revoke, then PUT again. 204 whether there was a link or not. Written to the audit log as public_report delete when there was one. The project’s owner only.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”No link now
No / invalid token or session
A reader (read-only member), or a member who is not an owner (project owner only)
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}No such run in your projects
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Rate limit exceeded