# Mange Template Access

<mark style="color:purple;">`PATCH`</mark> `https://api.xenia.team/v1/templates/:id`

#### Path Parameters

| Name                                 | Type   | Description |
| ------------------------------------ | ------ | ----------- |
| id<mark style="color:red;">\*</mark> | string |             |

#### Headers

| Name                                            | Type      | Description  |
| ----------------------------------------------- | --------- | ------------ |
| Authorization<mark style="color:red;">\*</mark> | JWT Token | Access Token |

#### Request Body

| Name   | Type      | Description                      |
| ------ | --------- | -------------------------------- |
| access | string\[] | Array of accessor id (user/team) |

{% tabs %}
{% tab title="200 Success" %}
```javascript
{
    "id": "e77b6442-de60-401c-a173-0afc84a5747e",
    "name": "Opening Cleaning Checklist",
    items: [{
        "id": "e77b6442-de60-401c-a173-0afc84a5745f",
        "description": "What is the length?",
        "type": "Number",
        "unit": "ft",
        "order": 4,
        "isRequired": true,
        "options": {},
        "parentId": null,
        "score": 1
    }],
    "createdAt": 1701743645
    "updatedAt": 2001743645
}
```
{% endtab %}

{% tab title="401 Permission denied" %}

{% endtab %}
{% endtabs %}
