Links
Toggle Link Favourite
Mark or unmark a link as favourite for quick access.
Blocked by:
- Link deleted (status=3)
- Revoked workspace
- Revoked domain
Workspace Type: Classic workspaces only.
post/links/{link_id}/favourite
Request
- Base URLhttps://api.rebrandly.com/v1
- URLhttps://api.rebrandly.com/v1/links/{link_id}/favourite
- AuthAPI key in header apikey
Path parameters
link_idstring required
Link public ID
Headers
Workspacestring
Example:workspace123abc
Workspace public ID
apikeystring required
API key for authentication
Request body
Response
Favourite status updated
Example response
{
"id": "abc123def456",
"title": "My Example Link",
"slashtag": "my-link",
"destination": "https://example.com",
"shortUrl": "rebrand.ly/my-link",
"domainId": "domain123abc",
"domainName": "rebrand.ly",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z",
"status": "active",
"description": "This link redirects to our example page",
"https": true
}Changes
No recorded changes to this operation across all 1 revision of this API.