Revoke the public link of the test documentation
DELETE
/v1/projects/{id}/test-docs/public-link
const url = 'https://beta-api.plune.ai/v1/projects/example/test-docs/public-link';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/projects/example/test-docs/public-link \ --header 'Authorization: Bearer <token>'Deletes the link and its snapshot (#2750): from this call on the address answers 404, as one that never existed does. 204 whether there was a link or not. The project’s owner or a manager. Sixty a minute.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
The project’s id
Responses
Section titled “ Responses ”No link now
No / invalid token or session
A member or a reader
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}No such project, or you are not in it
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
Media type application/json
object
error
required
string
Example generated
{ "error": "example"}Headers
Section titled “Headers ” Retry-After
integer
Seconds until the window rolls over