Link Rules

Create Rotator Rule

Create a new rotator rule for traffic distribution.

Blocked by:

  • Link deleted (status=3)
  • Revoked workspace
  • Revoked domain

Link Type: Rotator links only.

post/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

Created 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.