1. Domains
uploadthefile API documentation
  • Pages
    • Create a page
      POST
    • Update a page in place
      PUT
    • List pages
      GET
    • Get a page
      GET
    • Rename a page
      PATCH
    • Delete a page
      DELETE
    • Unzip & host a page
      POST
    • Get page password state
      GET
    • Set page password
      PUT
    • Remove page password
      DELETE
    • Get email-gate config
      GET
    • Configure email-gate
      PUT
    • Disable email-gate
      DELETE
    • List or export captured emails
      GET
    • Get page display mode
      GET
    • Set page display mode
      PUT
    • Get PDF chat availability
      GET
    • Enable PDF chat
      PUT
    • Disable PDF chat
      DELETE
    • Bulk delete pages
      POST
  • Short links
    • List short links
      GET
    • Create a short link
      POST
    • Bulk update short links
      POST
    • Get a short link
      GET
    • Update a short link
      PATCH
    • Delete a short link
      DELETE
    • Get link click history
      GET
  • Domains
    • List custom domains
      GET
    • Connect a custom domain
      POST
    • Search domain availability
      GET
    • Rebind a domain to a different page
      PATCH
    • Disconnect a domain
      DELETE
  • Account
    • Get account, limits, and usage
  • Schemas
    • UploadCreateForm
    • UploadUpdateForm
    • SubdomainName
    • RenamePageRequest
    • CreateLinkRequest
    • UpdateLinkRequest
    • BulkDeletePagesRequest
    • BulkLinkActionRequest
    • ClickPoint
    • DisplayMode
    • SetDisplayModeRequest
    • SetPasswordRequest
    • SetEmailGateRequest
    • EmailCapture
    • ConnectDomainRequest
    • RebindDomainRequest
    • DomainConnection
    • DomainSearchResult
    • LinkCode
    • ExpiryOption
    • ApiPage
    • ShortLink
    • AccountInfo
    • UploadResult
    • HostResult
    • DeleteResult
    • UpgradeNudge
    • Error
    • UploadResultEnvelope
    • PageEnvelope
    • PagesListEnvelope
    • HostEnvelope
    • DeleteEnvelope
    • LinkEnvelope
    • LinksListEnvelope
    • AccountEnvelope
    • BulkDeletedEnvelope
    • BulkAffectedEnvelope
    • ClickSeriesEnvelope
    • PagePasswordStateEnvelope
    • PagePasswordResultEnvelope
    • EmailGateStateEnvelope
    • EmailGateUpdatedEnvelope
    • EmailGateDisabledEnvelope
    • CapturesEnvelope
    • DisplayModeStateEnvelope
    • DisplayModeResultEnvelope
    • ChatAvailabilityEnvelope
    • DomainsListEnvelope
    • DomainConnectionEnvelope
    • DomainDeletedEnvelope
    • DomainSearchEnvelope
  1. Domains

Rebind a domain to a different page

PATCH
/domains/{id}
Repoint a domain you own at a different page, or pass pageId: null to unbind.

Request

Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
Domain rebound.
Bodyapplication/json

🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
🟠404NotFound
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://upload.tf/api/v1/domains/d1e2f3a4-5b6c-7d8e-9f0a-1b2c3d4e5f6a' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "pageId": "string"
}'
Response Response Example
200 - Example 1
{
    "success": true,
    "data": {
        "id": "string",
        "domain": "string",
        "pageId": "string",
        "status": "string",
        "statusLabel": "string",
        "createdAt": "2019-08-24T14:15:22.123Z",
        "expiresAt": "2019-08-24T14:15:22.123Z"
    }
}
Modified at 2026-06-26 19:58:05
Previous
Search domain availability
Next
Disconnect a domain
Built with