Skip to content

Latest commit

 

History

History
116 lines (87 loc) · 4.26 KB

File metadata and controls

116 lines (87 loc) · 4.26 KB
title Update certificateAuthorityAsEntity
description Update the properties of a certificateAuthorityAsEntity object.
author madansr7
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType
ms.date 11/06/2024

Update certificateAuthorityAsEntity

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Update the properties of a certificateAuthorityAsEntity object.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-trusted-app-cert-config-apis]

HTTP request

PATCH /directory/certificateAuthorities/certificateBasedApplicationConfigurations/{certificateBasedApplicationConfigurationId}/trustedCertificateAuthorities/{trustedCertificateAuthorityId}

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

[!INCLUDE table-intro]

Property Type Description
isRootAuthority Boolean Indicates whether the authority is at the root of the chain.

Response

If successful, this method returns a 204 No Content response code and does not return anything in the response body.

Examples

Request

The following example shows a request.

PATCH https://graph.microsoft.com/beta/directory/certificateAuthorities/certificateBasedApplicationConfigurations/0a6a9b97-b84c-406a-a703-14d699d1fbb1/trustedCertificateAuthorities/a55a2232-07a4-4b40-8914-a120f46a633e
Content-Type: application/json

{
  "isRootAuthority": true
}

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 204 No Content