@opentdf/sdk
    Preparing search index...

    Function attributeValueExists

    • Reports whether the attribute value FQN exists on the platform.

      valueFqn should be a full attribute value FQN (with /value/ segment): https://<namespace>/attr/<attribute_name>/value/<value>

      Parameters

      • platformUrl: string

        The platform base URL.

      • authProvider: AuthProvider

        An auth provider for the request.

      • valueFqn: string

        The attribute value FQN to check.

      Returns Promise<boolean>

      true if the value exists, false if it does not.

      ConfigurationError if the FQN format is invalid or the URL is insecure.

      NetworkError if a service error occurs.