API Access Control
Create or Replace Route Rules
Create or replace route rules
put/resources/routes/v1/{id}/rules
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Example request
{
"rules": [
{
"type": "feature",
"value": "my-feature-key"
}
]
}Response
Example response
[
{
"id": "b796239c-6641-4cf3-9ff3-658ad4049131",
"routeId": "b796239c-6641-4cf3-9ff3-658ad4049131",
"type": "feature",
"value": "my-feature-key"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.