---
title: "POST /auth-method-update-azure-ad"
method: POST
path: "/auth-method-update-azure-ad"
tags: ["Authentication"]
---

# POST /auth-method-update-azure-ad

`POST /auth-method-update-azure-ad`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/auth-method-update-azure-ad`
- Auth: none declared

## Request body

- AuthMethodUpdateAzureAD: authMethodUpdateAzureAD is a command that updates a new auth method that will be able to authenticate using Azure Active Directory credentials.
  - `access-expires` integer: Access expiration date in Unix timestamp (select 0 for access without expiry date)
  - `allowed-client-type` string[]: limit the auth method usage for specific client types [cli,ui,gateway-admin,sdk,mobile,extension]
  - `audience` string: Deprecated (Deprecated) The audience in the JWT
  - `audit-logs-claims` string[]: Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username"
  - `bound-group-id` string[]: A list of group ids that the access is restricted to
  - `bound-ips` string[]: A CIDR whitelist with the IPs that the access is restricted to
  - `bound-providers` string[]: A list of resource providers that the access is restricted to (e.g, Microsoft.Compute, Microsoft.ManagedIdentity, etc)
  - `bound-resource-id` string[]: A list of full resource ids that the access is restricted to
  - `bound-resource-names` string[]: A list of resource names that the access is restricted to (e.g, a virtual machine name, scale set name, etc).
  - `bound-resource-types` string[]: A list of resource types that the access is restricted to (e.g, virtualMachines, userAssignedIdentities, etc)
  - `bound-rg-id` string[]: A list of resource groups that the access is restricted to
  - `bound-spid` string[]: A list of service principal IDs that the access is restricted to
  - `bound-sub-id` string[]: A list of subscription ids that the access is restricted to
  - `bound-tenant-id` string, required: The Azure tenant id that the access is restricted to
  - `delete_protection` string: Protection from accidental deletion of this object [true/false]
  - `description` string: Auth Method description
  - `expiration-event-in` string[]: How many days before the expiration of the auth method would you like to be notified.
  - `force-sub-claims` boolean: if true: enforce role-association must include sub claims
  - `gw-bound-ips` string[]: A CIDR whitelist with the GW IPs that the access is restricted to
  - `issuer` string: Issuer URL
  - `json` boolean: Set output format to JSON
  - `jwks-uri` string: The URL to the JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server.
  - `jwt-ttl` integer: Jwt TTL
  - `name` string, required: Auth Method name
  - `new-name` string: Auth Method new name
  - `product-type` string[]: Choose the relevant product type for the auth method [sm, sra, pm, dp, ca, ara]
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication
  - `unique-identifier` string: A unique identifier (ID) value which is a "sub claim" name that contains details uniquely identifying that resource. This "sub claim" is used to distinguish between different identities.

## Response `201`

authMethodUpdateAzureADResponse wraps response body.

- AuthMethodUpdateOutput
  - `name` string
  - `prv_key` string
  - `scim_base_url` string: SCIM Base URL the IdP calls, set when SCIM flags were given

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
