---
title: "Remove access to template"
method: DELETE
path: "/v2/templates/{template_id}/roles/{user_id}"
---

# Remove access to template

`DELETE /v2/templates/{template_id}/roles/{user_id}`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/v2/templates/{template_id}/roles/{user_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/v2/templates/:template_id/roles/:user_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows a user to revoke access to a specific template. 

**Note**: The template owner can revoke access for all users with whom the template was shared. A user with whom the template was shared can only revoke their own access to the template.

## Response `204`

Access removed.

## Other responses

- `400`: - User with `user_id` doesn't have access to the template. - You are not the template owner. - The entity owners cannot remove access from themselves.
- `404`: - Incorrect `template_id`. - Incorrect `user_id`.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
