# Update SAML application secret **PATCH /api/saml-applications/{id}/secrets/{secretId}** Update the status of a signing certificate. ## 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. - **secretId** (string) The unique identifier of the secret. ### Body: application/json (object) - **active** (boolean) Whether the certificate is active. ## Responses ### 200 The signing certificate was updated successfully. #### Body: application/json (object) - **id** (string) - **certificate** (string) - **createdAt** (number) - **expiresAt** (number) - **active** (boolean) - **fingerprints** (object) ### 400 Invalid request body. ### 401 Unauthorized ### 403 Forbidden ### 404 The SAML application or certificate was not found. [Powered by Bump.sh](https://bump.sh)