# Grant temporary workspace support access **POST /api/v1/projects/{id}/workspaces/{workspace_id}/support-access** Opens a time-bound window during which platform support (PLATFORM_DATA_VIEWER) may read this workspace's data plane. Requires PROJECT_OWNER on the path project or ORG_ADMIN of that project's organization. duration_hours is optional (omit for 24h default); when supplied it must be 1–168 (7d) or the request is rejected with 400. Re-granting replaces the current window. Available on Atlas-managed projects. ## Servers - https://agentengine.mongodb.com: https://agentengine.mongodb.com () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **id** (string) Project ID - **workspace_id** (string) Workspace ID ### Body: application/json (object) Grant options - **duration_hours** (integer) ## Responses ### 406 Unsupported or malformed API version, an operation unavailable in the selected published contract, or an unacceptable representation (including unsupported media-type parameters or excluded SSE). Existing authentication, authorization, and rate-limit failures take precedence. #### Body: application/json (object) - **badRequestDetail** (object) Optional validation details defined by the standard error schema; API negotiation errors do not emit this field. - **detail** (string) Human-readable error details. - **error** (integer) HTTP status code. - **errorCode** (string) Machine-readable error code. - **parameters** (array[string]) Request parameter names associated with the error; omitted when none apply. - **reason** (string) HTTP status reason phrase. ### 201 Created #### Body: application/json (object) - **active** (boolean) - **expires_at** (string) - **granted_at** (string) - **granted_by** (string) ### 400 Bad Request #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 403 Forbidden #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 404 Not Found #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 500 Internal Server Error #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) [Powered by Bump.sh](https://bump.sh)