Skip to main content
PATCH
Set a key's fairness weight

Authorizations

Authorization
string
header
required

Headers

Accept
enum<string>
required

Accept Header

Available options:
application/json

Path Parameters

ApiKeyId
string
required

Query Parameters

LineageWeight
integer<int32>

Body

application/json

SetKeyFairnessWeight

ApiKeyId
string
LineageWeight
integer<int32>

Response

The key's updated fairness weight.

KeyFairnessWeightResponse

ApiKeyId
string

The key this weight applies to.

LineageWeight
integer<int32>

The key's fairness weight, or null when it falls back to the plan default.