---
title: "Update AuthSession - Start"
method: POST
path: "/{workspaceId}/projects/{projectName}/auth-sessions/{authSessionId}/update"
tags: ["projects.authSessions.update"]
---

# Update AuthSession - Start

`POST /{workspaceId}/projects/{projectName}/auth-sessions/{authSessionId}/update`

## Request

- Base URL: `https://app.intuned.io/api/v1/workspace`
- URL: `https://app.intuned.io/api/v1/workspace/{workspaceId}/projects/{projectName}/auth-sessions/{authSessionId}/update`
- Auth: API key in header `x-api-key`

Start updating an AuthSession.

## Path parameters

- `workspaceId` string, uuid, required
- `projectName` string, required
- `authSessionId` string, required

## Request body

- object
  - `parameters` object, required: The parameters to be passed to the API.
  - `proxy` string, nullable: Proxy configuration for the job
  - `createAttempts` integer: Number of attempts to create a new AuthSession if the current one is invalid or expired.
  - `checkAttempts` integer: Number of attempts to check the validity of the AuthSession before recreating it.
  - `saveTrace` boolean

## Response `201`

Update AuthSession operation started

- object
  - `status` 'started', required
  - `operationId` string, required

---

[API](https://skmtc.dev/intunedhq/apis/intuned-client.md) - [All operations](https://skmtc.dev/intunedhq/apis/intuned-client/llms.txt) - [OpenAPI document](https://skmtc.dev/intunedhq/apis/intuned-client/revisions/9f87fec44145?raw)
