curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/settings/rateLimits \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"rateLimits": {
"main": {
"rate": 10,
"unit": "seconds",
"burst": 50
}
}
}
'{
"rateLimits": {}
}curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/settings/rateLimits \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"rateLimits": {
"main": {
"rate": 10,
"unit": "seconds",
"burst": 50
}
}
}
'{
"rateLimits": {}
}The ID of the Mock API
5 - 10"jjl8y"
Map of rate limit IDs to their configurations. Replaces all existing rate limits.
Show child attributes
Settings successfully updated
Show child attributes