POST
/
v1
/
ratelimits.setOverride
cURL
curl --request POST \
  --url https://api.unkey.dev/v1/ratelimits.setOverride \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "namespaceId": "rlns_1234",
  "namespaceName": "email.outbound",
  "identifier": "user_123",
  "limit": 10,
  "duration": 60000,
  "async": false
}'
{
  "overrideId": "over_123"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Sucessfully created a ratelimit override

The response is of type object.