Link Rules

Update All Rotator Rules

Replace all rotator rules for the link with a new set.

Blocked by:

  • Link deleted (status=3)
  • Revoked workspace
put/links/{link_id}/rotator

Request

  • Base URL
    https://api.rebrandly.com/v1
  • URL
    https://api.rebrandly.com/v1/links/{link_id}/rotator
  • Auth
    API 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

destinationstring uri required

Target destination URL

weightinteger

Traffic weight percentage (0-100)

rankinteger

Rule priority/rank

Response

Updated rotator rules

idstring required

Rule public ID

rankinteger

Rule priority/rank

destinationstring uri required

Target destination URL

weightinteger

Traffic weight percentage (0-100)

createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.