Zones
Update zone restriction
Changed onUpdate an existing zone restriction's rules or configuration. Only provided fields are updated.
patch/v1/zone-restrictions/{id}
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The ID of the zone restriction.
Request body
Example request
{
"restrictionMetadata": {
"key": "value"
}
}Response
OK
Example response
{
"id": "res_01234567890123456789",
"externalId": "ext_01234567890123456789",
"name": "Zone Restriction 1",
"isActive": true,
"restrictionMetadata": {
"restriction_metadata": {
"key": "value"
}
}
}Changes
- info
endpoint added
- info