---
title: "Configure token Agent authentication settings"
method: PUT
path: "/agent-authentication/token"
tags: ["AgentAuthentication"]
---

# Configure token Agent authentication settings

`PUT /agent-authentication/token`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/agent-authentication/token`
- Auth: API key in header `Authorization`

Configure token Agent authentication settings. Returns the updated token Agent authentication settings. See get token Agent authentication settings for the response details.

## Request body

- object
  - `enabled` boolean, required: Enable/disable token Agent authentication

## Response `200`

Successful response

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
