Closed
Description
Deployment Type
Self-hosted
NetBox Version
v4.0.0
Python Version
3.10
Steps to Reproduce
- Try to create a tenant with only a name and a slug (which works through the GUI)
curl -s -X POST \
-H "Authorization: Token 0123456789abcdef0123456789abcdef01234567" \
-H "Content-Type: application/json" \
http://localhost:32768/api/tenancy/tenants/ \
--data '{"name": "Tenant 2", "slug": "tenant-2"}' | jq '.'
Expected Behavior
Tenant to be created
Observed Behavior
{
"group": [
"This field is required."
]
}