GET /api/dcim/device-roles/1/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1,
    "url": "https://netbox.bayareabackbone.com/api/dcim/device-roles/1/?format=api",
    "display_url": "https://netbox.bayareabackbone.com/dcim/device-roles/1/?format=api",
    "display": "Switch",
    "name": "Switch",
    "slug": "switch",
    "color": "2f6a31",
    "vm_role": true,
    "config_template": null,
    "parent": null,
    "description": "",
    "tags": [],
    "custom_fields": {},
    "created": "2024-12-05T22:17:52.709585Z",
    "last_updated": "2024-12-09T06:35:14.388257Z",
    "device_count": 8,
    "virtualmachine_count": 0,
    "comments": "",
    "_depth": 0
}