Skip to main content
← All guides

Revoke access to an app you shared

Why qURL here

Access ends when you decide: revoke one person’s qURL™ invitation and everyone else keeps working, or run qurl stop to close the app to everyone at once. An unopened one-time link also expires on its own.

See how LayerV compares on access control →

Steps

A qURL link from qurl share with no flags opens once and expires within 24 hours on its own. To end access sooner, run qurl stop <CRID> to stop serving the app (qurl start <CRID> resumes it) or qurl delete <CRID> to retire it for good. With an account, revoke one link through the API while the others keep working.

  1. Find the CRID

    Every command that ends access takes the app’s CRID, which qurl publish printed. qurl list --status active lists the resources this device published.

    qurl list --status active
  2. Stop serving the app

    qurl stop pauses serving the app and keeps the resource and its CRID; qurl start resumes it. A stopped app still counts toward your resource limit.

    qurl stop <CRID>
  3. Delete the resource for good

    qurl delete asks you to confirm, then retires the CRID: existing links stop working, people you let in lose their way in, and the CRID can never be shared again. Publishing the same app again gives it a new CRID. To confirm the delete, run qurl share <CRID>: it fails with “Resource Revoked (HTTP 400)” and exit code 5.

    qurl delete <CRID>
  4. Revoke one person’s invitation

    Where private access policies are available, if you invited people by email (qurl 3.6.0 or later), list the invitations to find that person’s ID and the current version, then revoke it. That removes the invitation and the access it granted, and everyone else keeps theirs. The invitation flow and cleanup have not been tested end to end against the hosted service. If cleanup is pending, list invitations again to get the current version before retrying. Or ask your coding agent: “Revoke contractor@example.com's qURL invitation to the app.”

    qurl access list_invitations <CRID> -o json
    qurl access revoke_invitation <CRID> <invitation-id> --version <version> -o json

What the recipient sees

A used or expired link shows “Access link invalid”.

More

An unused link to a deleted resource lands on “Resource not found”. An invited person whose invitation you revoked loses the access it granted.

What each one is, and what ends it

An ngrok endpoint stays up while its agent runs, and a tunnel URL stays public until you shut it down. With qURL every way in has its own end: the published app, each link, each invitation and each visit, with different ways to end each. From the qurl 4.1.0 command help, the CLI README and the API reference.

What each one is, and what ends it
WhatWhat it isHow long it lastsWhat ends itAccount needed?
Published appThe app you published, named by its CRID. Its address opens only for you and the people you allow, so the address alone lets no one in.Until you delete it; reachable while your computer and the app run.qurl stop <CRID> stops serving it until qurl start <CRID>. qurl delete <CRID> retires it and every way in, for good.No
One-time linkA bearer link from qurl share, for one person. It opens once; for access that names the person, use an invitation.One opening, within --ttl: 24 hours at most without an account, 30 days with one.Expiry or its one opening. qurl stop stops serving the app for every link at once, and qurl delete retires every link. Revoking one link while the others keep working is an API call.Only to revoke one link
Email invitationNames one email address, on an app published with --access invite_only. The person verifies that mailbox and saves a passkey; strangers cannot ask for access.Until you revoke it or delete the app; their passkey brings them back.qurl access revoke_invitation removes the invitation and the access it granted. Deleting the app ends every invitation.Where private access policies are available (qurl 3.6.0+)
VisitThe session a one-time link starts: this one app, for the browser that opened it.--session-duration: 1 hour by default, 24 at most. The link expiring does not end it.Its configured duration. The effect of stop, delete or revocation on an already-open session has not been verified.No

Sources: Every way in, compared, CLI README, API reference, Agent skill.

Troubleshooting

Troubleshooting
If you seeDo this
Someone still reaches the app after their link expiredTheir session is still open: an expired link does not end a session already in progress. Run qurl stop <CRID> to stop serving the app, and give the next link a shorter --session-duration.
The app still answers on another addressPublishing does not close a separate public route the app already has. Bind the app to 127.0.0.1 and stop any tunnel or port forward that points at it.
Show 8 more fixes
More troubleshooting
If you seeDo this
qurl share says “Resource Revoked (HTTP 400)” with exit code 5The resource was deleted. That is final: a deleted CRID can never be shared again. Publish the app again to get a new CRID, and send the new address. Running qurl delete <CRID> --yes a second time succeeds again and prints deleted: true, so a script that has to confirm the delete checks qurl share instead.
DELETE /v1/qurls/{id} rejects a q_ link IDThat route retires a resource and all its links and does not accept a link ID. To revoke one link, use DELETE /v1/resources/{id}/qurls/{qurl_id}.
qurl publish says the local app is not accepting TCP connectionsStart the app first and check that curl works on the same address. qurl publish connects to localhost as 127.0.0.1, so if your app listens only on IPv6 (on macOS or Linux, lsof -iTCP -sTCP:LISTEN -nP shows [::1]), publish 'http://[::1]:PORT' instead, or start the dev server with --host 127.0.0.1 and publish that address. Neither requires listening on your LAN. Keep the quotes: zsh treats the brackets as a pattern.
The recipient sees “Access link invalid”The link was already used or has expired. Run qurl share again and send the new link.
The recipient sees “Resource not found”The resource was deleted after the link was made. Publish the app again, then run qurl share and send the new link.
publish rejects http://127.0.0.1 with “only HTTPS URLs are allowed”, asks you to log in, or prints no Access: lineYour qURL CLI is out of date. On macOS run brew update, then brew upgrade qurl; elsewhere install the latest release. After updating, qurl --version prints 3.4.1 or later, and every publish is private by default.
publish says this Linux session “can’t reach a systemd user manager”You are in a container or sandbox without a user service manager. Run qurl publish with --foreground; sharing lasts as long as that process runs. Container and CI setup →
publish says “Quota Exceeded” with “protected resource limit reached”, or “Your qURL account has reached a plan limit”You can see this without an account: a device with no account can keep up to 3 active resources, with links that last up to 24 hours. Run qurl list --status active, then qurl delete <CRID> for any you no longer need (it asks you to confirm; --yes skips that). qurl stop keeps the resource, so it does not free a slot.

Frequently Asked Questions

Can I revoke one link without an account?

No. Revoking a single link is an API call and needs an account. Without one, links end on their own, after one opening or within 24 hours, and qurl stop <CRID> stops serving the app for every link at once.

What is the difference between link expiry and session duration?

Link expiry stops new openings after a deadline; session duration is how long an opened session lasts. Set them with --ttl and --session-duration on qurl share. The session defaults to 1 hour and can run up to 24 hours.

How do I stop sharing?

Run qurl stop <CRID> to pause serving the app, and qurl start <CRID> to resume it; a stopped app still counts toward your resource limit. qurl delete <CRID> removes the resource for good after asking you to confirm; its CRID can never be shared again.

Who else can reach my app while the link is open?

Opening the link starts a session for that browser, which lasts 1 hour by default. After a browser opens it, another browser on the same public IP cannot use its access. A script or agent that opens the link without a browser is admitted by its network address instead, which other devices on that public IP share until the session ends. A link admits whoever opens it: the API’s IP and country rules do not apply to the signed links qurl share issues. Keep your app’s own sign-in for anything sensitive.

Publish your app now

Install the CLI, then run one command. No sign-up, no API key.

Install the CLI →

Book a pilot

Tell us what to hide. We’ll scope a pilot.

Enterprise starts with a paid pilot on one application, typically 60 to 90 days, credited in full toward year one if you convert within 60 days. After that, an annual package sized to what you protect, not per seat.