@opentdf/sdk
    Preparing search index...

    Function attributeExists

    • Reports whether the attribute definition identified by attributeFqn exists on the platform.

      attributeFqn should be an attribute-level FQN (no /value/ segment): https://<namespace>/attr/<attribute_name>

      Parameters

      • platformUrl: string

        The platform base URL.

      • authProvider: AuthProvider

        An auth provider for the request.

      • attributeFqn: string

        The attribute-level FQN to check.

      Returns Promise<boolean>

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

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

      NetworkError if a non-not-found service error occurs.