Delete SAML application secret

DELETE /api/saml-applications/{id}/secrets/{secretId}

Delete a signing certificate of the SAML application. Active certificates cannot be deleted.

Path parameters

  • id string Required

    The unique identifier of the saml application.

  • secretId string Required

    The unique identifier of the secret.

Responses

  • The signing certificate was deleted successfully.

  • Cannot delete an active certificate.

  • Unauthorized

  • Forbidden

  • The SAML application or certificate was not found.

DELETE /api/saml-applications/{id}/secrets/{secretId}
curl \
 --request DELETE https://[tenant_id].logto.app/api/saml-applications/{id}/secrets/{secretId} \
 --header "Authorization: Bearer $ACCESS_TOKEN"