Create a Principal Rate Limit
POST {{baseUrl}}/api/v1/principal-rate-limits
Creates a new Principal Rate Limit entity. In the current release, we only allow one Principal Rate Limit entity per org and principal.
Request Body
{"principalId"=>"token1234", "principalType"=>"SSWS_TOKEN", "defaultPercentage"=>50, "defaultConcurrencyPercentage"=>75}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"abcd1234","orgId":"org1234","principalId":"token1234","principalType":"SSWS_TOKEN","defaultPercentage":50,"defaultConcurrencyPercentage":75,"createdDate":"2022-05-19T20:05:32.720Z","createdBy":"user1234","lastUpdate":"2022-05-20T21:13:07.410Z","lastUpdatedBy":"user4321"}