---
title: "Set the active grant to expire the chosen duration from now"
method: POST
path: "/access/support-access/extend"
tags: ["Access"]
---

# Set the active grant to expire the chosen duration from now

`POST /access/support-access/extend`

## Request body

- SupportAccessExtendRequest
  - `duration` '24h' | '7d' | '30d', required

## Response `200`

Extended

- SupportAccessGrantResponse
  - `data` SupportAccessGrant, required
    - `accountName` string, required
    - `expiresAt` string, date-time, required
    - `grantedAt` string, date-time, required
    - `grantedBy` SupportAccessUser, required
      - `email` string, required
      - `name` string, required
      - `userId` string, required
    - `id` string, required
    - `lastStaffActivityAt` string, date-time, nullable, required
    - `level` 'view' | 'edit', required
    - `organizationId` string, required
    - `organizationName` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — ADMIN_EMAIL_REQUIRED: the admin has no synced email to record on the audit trail

## Changes

- **2026-10-02** `766c2a40e369` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/greentally/apis/esgai-api/changes/access/support-access/extend/post.md)

---

[API](https://skmtc.dev/greentally/apis/esgai-api.md) · [All operations](https://skmtc.dev/greentally/apis/esgai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/greentally/apis/esgai-api/revisions/4189686230ca?raw)
