Extend qURL Expiration
extend_qurlPush out the expiration of an active qURL by a relative duration when only more time is needed. Accepts various resource IDs and returns updated resource.
Instructions
Push out the expiration of an active qURL by a relative duration. Convenience wrapper for the most common update — equivalent to update_qurl({ resource_id, extend_by }). Use this when the only change you need is more time on the clock. Use update_qurl instead when you also need to change tags, description, or set an absolute expires_at. Use delete_qurl when you want to cut off access entirely. Accepts resource public keys, CRIDs, legacy r_ IDs, and q_ display IDs (q_ is auto-resolved to its parent resource). Not idempotent: calling twice with the same extend_by extends the expiration twice. If you need an absolute target, use update_qurl with expires_at so retries on transient errors don't double-push. Returns the updated resource with the new expires_at (same shape as get_qurl).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extend_by | Yes | Duration to extend by (e.g., "24h", "7d") | |
| resource_id | Yes | The resource public key, CRID, legacy r_ ID, or qURL display ID (q_ prefix) to extend. If a q_ ID is passed, the API resolves it to the parent resource automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Immutable per-owner resource identity, when one was supplied at create time | |
| tags | No | ||
| qurls | No | ||
| status | Yes | unknown | |
| qurl_site | No | ||
| created_at | Yes | ||
| expires_at | Yes | ||
| qurl_count | No | Number of access tokens minted for this resource | |
| target_url | No | Underlying URL the qURL protects; omitted on connector-owned resources | |
| description | No | ||
| resource_id | Yes | Stable resource identifier (public key or legacy r_ ID) | |
| custom_domain | No | ||
| preserve_host | No | When true, the original Host header is preserved when proxying via the custom domain. Only meaningful when custom_domain is set; defaults to false on the API side. |