Update Shortlink
Updates a short link's destination, domain, or path. Omitted fields stay as they are. A new domain has to be verified and have short links turned on.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the short link.
ID of the short link to update.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Fields to change. Omitted fields stay as they are.
ID of the domain that hosts the short link.
Hostname of the short link, for example go.example.com.
Path on that hostname, without a leading slash.
URL visitors are sent to. Omit to leave unchanged.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/projects/string/shortlinks/string" \ -H "Content-Type: application/json" \ -d '{ "changes": {} }'{ "id": "string", "createdAt": "string", "updatedAt": "string", "destinationURL": "http://example.com", "shortLinkDomain": "string", "shortLinkPath": "string", "projectId": "string", "domainId": "string"}Create Shortlink
Creates a short link on a domain that already belongs to the project. The domain has to be verified and have short links turned on. Point it at a real public page of this product. Do not invent a destination.
Delete Shortlink
Deletes a short link. The hostname and path stop resolving. Click history already recorded stays in analytics.