# Revoke an edit link

Takes back an edit link sent for one filed submission before it expires: from now it answers 410 like any lapsed link. Logged on the submission. Answers no content, also when the link was already gone; a link of another submission or workspace is a not-found. `get_forms_id_submissions_sid_edit_links` lists them.

Access class: `workspace`.

## Endpoint

`DELETE /v1/forms/{id}/submissions/{sid}/edit-links/{linkId}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |
| sid | path | string | Yes |
| linkId | path | string | Yes |

## Responses

### 200

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
