Standardize API requests

This commit is contained in:
Jeremy Stretch
2020-08-05 14:04:35 -04:00
parent 7c0124bbbb
commit 77c3c57ce9
2 changed files with 3 additions and 3 deletions

View File

@@ -474,7 +474,7 @@ To modify an object which has already been created, make a `PATCH` request to th
```no-highlight
curl -s -X PATCH \
> -H "Authorization: Token 98dbec0b912e5f3ddec7183c48e73b38fa9ca793" \
> -H "Authorization: Token $TOKEN" \
> -H "Content-Type: application/json" \
> http://netbox/api/ipam/prefixes/18691/ \
> --data '{"status": "reserved"}' | jq '.'