# Update SAML application **PATCH /api/saml-applications/{id}** Update SAML application details by ID. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters #### Path parameters - **id** (string) The unique identifier of the saml application. ## Body parameters Content-type: application/json - **name** (string) The name of the SAML application. - **description** (string | null) Description of the SAML application. - **customData** (object) Custom data for the application. - **attributeMapping** (object) - **entityId** (string | null) - **acsUrl** (string | null) The Assertion Consumer Service (ACS) URL. - **encryption** (object | null) Validator function - **nameIdFormat** (string) ## Responses ### 200: The SAML application was updated successfully. #### Body Parameters: application/json (object) - **tenantId** (string) - **id** (string) - **name** (string) - **description** (string | null) - **type** (string) - **customData** (object) arbitrary - **isThirdParty** (boolean) - **createdAt** (number) - **attributeMapping** (object) - **entityId** (string | null) - **acsUrl** (object | null) - **encryption** (object | null) Validator function - **nameIdFormat** (string) ### 400: Bad Request ### 401: Unauthorized ### 403: Forbidden ### 404: The SAML application was not found. ### 422: Validation error. [Powered by Bump.sh](https://bump.sh)