Polyrankdocs
Rankings

PATCH /v1/rankings/saved/{id}

Update a saved ranking (owner only): rename, re-configure, or (un)publish.

PATCH
/v1/rankings/saved/{id}

Update a saved ranking (owner only): rename, re-configure, or (un)publish.

AuthorizationBearer <token>

API key: Authorization: Bearer pk_live_… (mint at polyrank.app/api-keys)

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/v1/rankings/saved/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "is_public": true,  "public_slug": "string",  "config": {    "version": 1,    "weights": {      "property1": {        "weight": 0,        "window": "lifetime"      },      "property2": {        "weight": 0,        "window": "lifetime"      }    },    "filters": {},    "na_policy": "exclude",    "preset_id": null,    "created_via_preset_id": null  },  "created_at": "string",  "updated_at": "string"}