---
title: "POST /api/v1/auth/update-azure-tenant-auth-details"
method: POST
path: "/api/v1/auth/update-azure-tenant-auth-details"
tags: ["Auth"]
---

# POST /api/v1/auth/update-azure-tenant-auth-details

`POST /api/v1/auth/update-azure-tenant-auth-details`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/auth/update-azure-tenant-auth-details`
- Auth: none declared

## Request body

- UpdateAzureTenantAuthDetailsCmdPayload
  - `authDetails` AzureTenantAuthDetails
    - `azureTenantPrincipalId` string, nullable
    - `selectedPermissionLevel` 'DefaultAppRegistration' | 'CustomAppRegistration': The string or integer value may be used. DefaultAppRegistration = 1, CustomAppRegistration = 3
    - `customAppRegAppId` string, nullable
    - `customAppRegSecret` string, nullable

## Response `200`

OK

- UpdateAzureTenantAuthDetailsCmdResult
  - `authDetails` AzureTenantAuthDetails
    - `azureTenantPrincipalId` string, nullable
    - `selectedPermissionLevel` 'DefaultAppRegistration' | 'CustomAppRegistration': The string or integer value may be used. DefaultAppRegistration = 1, CustomAppRegistration = 3
    - `customAppRegAppId` string, nullable
    - `customAppRegSecret` string, nullable
  - `defaultAppRegistrationUpdated` boolean

---

[API](https://skmtc.dev/immy/apis/immy-bot-api.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api/revisions/559d0e4b39d3?raw)
