---
title: "Set Auth"
method: PUT
path: "/api/apps/{name}/auth"
tags: ["deploy"]
---

# Set Auth

`PUT /api/apps/{name}/auth`

## Request

- Base URL: `https://softkiln.com` (the document declares no server; this is the origin it was published from)
- URL: `https://softkiln.com/api/apps/{name}/auth`
- Auth: none declared

## Path parameters

- `name` string, required

## Request body

- SetAuthRequest
  - `enabled` boolean, required

## Response `200`

Successful Response

- AuthStatusOut
  - `enabled` boolean, required
  - `tenant_id` string, nullable
  - `app_id` string, nullable
  - `api_resource` string, nullable
  - `tenant_endpoint` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/softkiln/apis/app-manager-api.md) · [All operations](https://skmtc.dev/softkiln/apis/app-manager-api/llms.txt) · [OpenAPI document](https://skmtc.dev/softkiln/apis/app-manager-api/revisions/8e293a417e4a?raw)
