---
title: "PATCH /reports/{id}/access-grants/{grantId}"
method: PATCH
path: "/reports/{id}/access-grants/{grantId}"
tags: ["Reports"]
---

# PATCH /reports/{id}/access-grants/{grantId}

`PATCH /reports/{id}/access-grants/{grantId}`

## Path parameters

- `id` string, required
- `grantId` string, required

## Request body

- ReportAccessGrantUpdateRequest
  - `role` 'report:viewer' | 'report:reviewer' | 'report:editor', required

## Response `200`

Updated report access grant

- ReportAccessGrantResponse
  - `data` ReportAccessGrant, required
    - `createdAt` string, date-time, required
    - `id` string, required
    - `reportId` string, required
    - `role` 'report:viewer' | 'report:reviewer' | 'report:editor', required
    - `userId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/greentally/apis/esgai-api.md) · [All operations](https://skmtc.dev/greentally/apis/esgai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/greentally/esgai-api/revisions/09945036a28b/schema)
