@inrupt/solid-client
    Preparing search index...

    Function deleteAclFor

    • function is still experimental and subject to change, even in a non-major release.
      

      Removes the resource ACL (Access Control List) from a Resource.

      Once the resource ACL is removed from the Resource, the Resource relies on the fallback ACL inherited from the Resource's parent Container (or another of its ancestor Containers).

      Type Parameters

      • Resource extends WithResourceInfo & {} & { internal_resourceInfo: { aclUrl: string } }

      Parameters

      • resource: Resource

        The Resource for which you want to delete the ACL.

      • Optionaloptions: { fetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response> }

        Optional parameter options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API.

        • Optionalfetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response>

      Returns Promise<Resource & { acl: { resourceAcl: null } }>