Link Rules

Update Rotator Rule

Update a single rotator rule.

Blocked by:

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

Request

  • Base URL
    https://api.rebrandly.com/v1
  • URL
    https://api.rebrandly.com/v1/links/{link_id}/rotator/{rule_id}
  • Auth
    API key in header apikey

Path parameters

link_idstring required

Link public ID

rule_idstring required

Rotator rule 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 rule

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.