NetBox · Capability

NetBox REST API — tenancy

NetBox REST API — tenancy. 54 operations. Lead operation: tenancy. Self-contained Naftiko capability covering one Netbox business surface.

Run with Naftiko Netboxtenancy

What You Can Do

GET
Tenancycontactassignmentslist — Get a list of contact assignment objects.
/v1/api/tenancy/contact-assignments
POST
Tenancycontactassignmentscreate — Post a list of contact assignment objects.
/v1/api/tenancy/contact-assignments
PUT
Tenancycontactassignmentsbulkupdate — Put a list of contact assignment objects.
/v1/api/tenancy/contact-assignments
PATCH
Tenancycontactassignmentsbulkpartialupdate — Patch a list of contact assignment objects.
/v1/api/tenancy/contact-assignments
DELETE
Tenancycontactassignmentsbulkdestroy — Delete a list of contact assignment objects.
/v1/api/tenancy/contact-assignments
GET
Tenancycontactassignmentsretrieve — Get a contact assignment object.
/v1/api/tenancy/contact-assignments/{id}
PUT
Tenancycontactassignmentsupdate — Put a contact assignment object.
/v1/api/tenancy/contact-assignments/{id}
PATCH
Tenancycontactassignmentspartialupdate — Patch a contact assignment object.
/v1/api/tenancy/contact-assignments/{id}
DELETE
Tenancycontactassignmentsdestroy — Delete a contact assignment object.
/v1/api/tenancy/contact-assignments/{id}
GET
Tenancycontactgroupslist — Get a list of contact group objects.
/v1/api/tenancy/contact-groups
POST
Tenancycontactgroupscreate — Post a list of contact group objects.
/v1/api/tenancy/contact-groups
PUT
Tenancycontactgroupsbulkupdate — Put a list of contact group objects.
/v1/api/tenancy/contact-groups
PATCH
Tenancycontactgroupsbulkpartialupdate — Patch a list of contact group objects.
/v1/api/tenancy/contact-groups
DELETE
Tenancycontactgroupsbulkdestroy — Delete a list of contact group objects.
/v1/api/tenancy/contact-groups
GET
Tenancycontactgroupsretrieve — Get a contact group object.
/v1/api/tenancy/contact-groups/{id}
PUT
Tenancycontactgroupsupdate — Put a contact group object.
/v1/api/tenancy/contact-groups/{id}
PATCH
Tenancycontactgroupspartialupdate — Patch a contact group object.
/v1/api/tenancy/contact-groups/{id}
DELETE
Tenancycontactgroupsdestroy — Delete a contact group object.
/v1/api/tenancy/contact-groups/{id}
GET
Tenancycontactroleslist — Get a list of contact role objects.
/v1/api/tenancy/contact-roles
POST
Tenancycontactrolescreate — Post a list of contact role objects.
/v1/api/tenancy/contact-roles
PUT
Tenancycontactrolesbulkupdate — Put a list of contact role objects.
/v1/api/tenancy/contact-roles
PATCH
Tenancycontactrolesbulkpartialupdate — Patch a list of contact role objects.
/v1/api/tenancy/contact-roles
DELETE
Tenancycontactrolesbulkdestroy — Delete a list of contact role objects.
/v1/api/tenancy/contact-roles
GET
Tenancycontactrolesretrieve — Get a contact role object.
/v1/api/tenancy/contact-roles/{id}
PUT
Tenancycontactrolesupdate — Put a contact role object.
/v1/api/tenancy/contact-roles/{id}
PATCH
Tenancycontactrolespartialupdate — Patch a contact role object.
/v1/api/tenancy/contact-roles/{id}
DELETE
Tenancycontactrolesdestroy — Delete a contact role object.
/v1/api/tenancy/contact-roles/{id}
GET
Tenancycontactslist — Get a list of contact objects.
/v1/api/tenancy/contacts
POST
Tenancycontactscreate — Post a list of contact objects.
/v1/api/tenancy/contacts
PUT
Tenancycontactsbulkupdate — Put a list of contact objects.
/v1/api/tenancy/contacts
PATCH
Tenancycontactsbulkpartialupdate — Patch a list of contact objects.
/v1/api/tenancy/contacts
DELETE
Tenancycontactsbulkdestroy — Delete a list of contact objects.
/v1/api/tenancy/contacts
GET
Tenancycontactsretrieve — Get a contact object.
/v1/api/tenancy/contacts/{id}
PUT
Tenancycontactsupdate — Put a contact object.
/v1/api/tenancy/contacts/{id}
PATCH
Tenancycontactspartialupdate — Patch a contact object.
/v1/api/tenancy/contacts/{id}
DELETE
Tenancycontactsdestroy — Delete a contact object.
/v1/api/tenancy/contacts/{id}
GET
Tenancytenantgroupslist — Get a list of tenant group objects.
/v1/api/tenancy/tenant-groups
POST
Tenancytenantgroupscreate — Post a list of tenant group objects.
/v1/api/tenancy/tenant-groups
PUT
Tenancytenantgroupsbulkupdate — Put a list of tenant group objects.
/v1/api/tenancy/tenant-groups
PATCH
Tenancytenantgroupsbulkpartialupdate — Patch a list of tenant group objects.
/v1/api/tenancy/tenant-groups
DELETE
Tenancytenantgroupsbulkdestroy — Delete a list of tenant group objects.
/v1/api/tenancy/tenant-groups
GET
Tenancytenantgroupsretrieve — Get a tenant group object.
/v1/api/tenancy/tenant-groups/{id}
PUT
Tenancytenantgroupsupdate — Put a tenant group object.
/v1/api/tenancy/tenant-groups/{id}
PATCH
Tenancytenantgroupspartialupdate — Patch a tenant group object.
/v1/api/tenancy/tenant-groups/{id}
DELETE
Tenancytenantgroupsdestroy — Delete a tenant group object.
/v1/api/tenancy/tenant-groups/{id}
GET
Tenancytenantslist — Get a list of tenant objects.
/v1/api/tenancy/tenants
POST
Tenancytenantscreate — Post a list of tenant objects.
/v1/api/tenancy/tenants
PUT
Tenancytenantsbulkupdate — Put a list of tenant objects.
/v1/api/tenancy/tenants
PATCH
Tenancytenantsbulkpartialupdate — Patch a list of tenant objects.
/v1/api/tenancy/tenants
DELETE
Tenancytenantsbulkdestroy — Delete a list of tenant objects.
/v1/api/tenancy/tenants
GET
Tenancytenantsretrieve — Get a tenant object.
/v1/api/tenancy/tenants/{id}
PUT
Tenancytenantsupdate — Put a tenant object.
/v1/api/tenancy/tenants/{id}
PATCH
Tenancytenantspartialupdate — Patch a tenant object.
/v1/api/tenancy/tenants/{id}
DELETE
Tenancytenantsdestroy — Delete a tenant object.
/v1/api/tenancy/tenants/{id}

MCP Tools

get-list-contact-assignment-objects

Get a list of contact assignment objects.

read-only idempotent
post-list-contact-assignment-objects

Post a list of contact assignment objects.

read-only
put-list-contact-assignment-objects

Put a list of contact assignment objects.

idempotent
patch-list-contact-assignment-objects

Patch a list of contact assignment objects.

idempotent
delete-list-contact-assignment-objects

Delete a list of contact assignment objects.

idempotent
get-contact-assignment-object

Get a contact assignment object.

read-only idempotent
put-contact-assignment-object

Put a contact assignment object.

idempotent
patch-contact-assignment-object

Patch a contact assignment object.

idempotent
delete-contact-assignment-object

Delete a contact assignment object.

idempotent
get-list-contact-group-objects

Get a list of contact group objects.

read-only idempotent
post-list-contact-group-objects

Post a list of contact group objects.

read-only
put-list-contact-group-objects

Put a list of contact group objects.

idempotent
patch-list-contact-group-objects

Patch a list of contact group objects.

idempotent
delete-list-contact-group-objects

Delete a list of contact group objects.

idempotent
get-contact-group-object

Get a contact group object.

read-only idempotent
put-contact-group-object

Put a contact group object.

idempotent
patch-contact-group-object

Patch a contact group object.

idempotent
delete-contact-group-object

Delete a contact group object.

idempotent
get-list-contact-role-objects

Get a list of contact role objects.

read-only idempotent
post-list-contact-role-objects

Post a list of contact role objects.

read-only
put-list-contact-role-objects

Put a list of contact role objects.

idempotent
patch-list-contact-role-objects

Patch a list of contact role objects.

idempotent
delete-list-contact-role-objects

Delete a list of contact role objects.

idempotent
get-contact-role-object

Get a contact role object.

read-only idempotent
put-contact-role-object

Put a contact role object.

idempotent
patch-contact-role-object

Patch a contact role object.

idempotent
delete-contact-role-object

Delete a contact role object.

idempotent
get-list-contact-objects

Get a list of contact objects.

read-only idempotent
post-list-contact-objects

Post a list of contact objects.

read-only
put-list-contact-objects

Put a list of contact objects.

idempotent
patch-list-contact-objects

Patch a list of contact objects.

idempotent
delete-list-contact-objects

Delete a list of contact objects.

idempotent
get-contact-object

Get a contact object.

read-only idempotent
put-contact-object

Put a contact object.

idempotent
patch-contact-object

Patch a contact object.

idempotent
delete-contact-object

Delete a contact object.

idempotent
get-list-tenant-group-objects

Get a list of tenant group objects.

read-only idempotent
post-list-tenant-group-objects

Post a list of tenant group objects.

read-only
put-list-tenant-group-objects

Put a list of tenant group objects.

idempotent
patch-list-tenant-group-objects

Patch a list of tenant group objects.

idempotent
delete-list-tenant-group-objects

Delete a list of tenant group objects.

idempotent
get-tenant-group-object

Get a tenant group object.

read-only idempotent
put-tenant-group-object

Put a tenant group object.

idempotent
patch-tenant-group-object

Patch a tenant group object.

idempotent
delete-tenant-group-object

Delete a tenant group object.

idempotent
get-list-tenant-objects

Get a list of tenant objects.

read-only idempotent
post-list-tenant-objects

Post a list of tenant objects.

read-only
put-list-tenant-objects

Put a list of tenant objects.

idempotent
patch-list-tenant-objects

Patch a list of tenant objects.

idempotent
delete-list-tenant-objects

Delete a list of tenant objects.

idempotent
get-tenant-object

Get a tenant object.

read-only idempotent
put-tenant-object

Put a tenant object.

idempotent
patch-tenant-object

Patch a tenant object.

idempotent
delete-tenant-object

Delete a tenant object.

idempotent

Capability Spec

netbox-tenancy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: NetBox REST API — tenancy
  description: 'NetBox REST API — tenancy. 54 operations. Lead operation: tenancy. Self-contained Naftiko capability covering
    one Netbox business surface.'
  tags:
  - Netbox
  - tenancy
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    NETBOX_API_KEY: NETBOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: netbox-tenancy
    baseUri: ''
    description: NetBox REST API — tenancy business capability. Self-contained, no shared references.
    resources:
    - name: api-tenancy-contact-assignments
      path: /api/tenancy/contact-assignments/
      operations:
      - name: tenancycontactassignmentslist
        method: GET
        description: Get a list of contact assignment objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: contact_id
          in: query
          type: array
          description: Contact (ID)
        - name: contact_id__n
          in: query
          type: array
          description: Contact (ID)
        - name: created
          in: query
          type: array
        - name: created__empty
          in: query
          type: array
        - name: created__gt
          in: query
          type: array
        - name: created__gte
          in: query
          type: array
        - name: created__lt
          in: query
          type: array
        - name: created__lte
          in: query
          type: array
        - name: created__n
          in: query
          type: array
        - name: created_by_request
          in: query
          type: string
        - name: group
          in: query
          type: array
        - name: group__n
          in: query
          type: array
        - name: group_id
          in: query
          type: array
        - name: group_id__n
          in: query
          type: array
        - name: id
          in: query
          type: array
        - name: id__empty
          in: query
          type: boolean
        - name: id__gt
          in: query
          type: array
        - name: id__gte
          in: query
          type: array
        - name: id__lt
          in: query
          type: array
        - name: id__lte
          in: query
          type: array
        - name: id__n
          in: query
          type: array
        - name: last_updated
          in: query
          type: array
        - name: last_updated__empty
          in: query
          type: array
        - name: last_updated__gt
          in: query
          type: array
        - name: last_updated__gte
          in: query
          type: array
        - name: last_updated__lt
          in: query
          type: array
        - name: last_updated__lte
          in: query
          type: array
        - name: last_updated__n
          in: query
          type: array
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: modified_by_request
          in: query
          type: string
        - name: object_id
          in: query
          type: array
        - name: object_id__empty
          in: query
          type: boolean
        - name: object_id__gt
          in: query
          type: array
        - name: object_id__gte
          in: query
          type: array
        - name: object_id__lt
          in: query
          type: array
        - name: object_id__lte
          in: query
          type: array
        - name: object_id__n
          in: query
          type: array
        - name: object_type
          in: query
          type: array
        - name: object_type__n
          in: query
          type: array
        - name: object_type_id
          in: query
          type: integer
        - name: object_type_id__n
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: priority
          in: query
          type: string
          description: '* `primary` - Primary'
        - name: priority__empty
          in: query
          type: boolean
        - name: priority__ic
          in: query
          type: array
        - name: priority__ie
          in: query
          type: array
        - name: priority__iew
          in: query
          type: array
        - name: priority__iregex
          in: query
          type: array
        - name: priority__isw
          in: query
          type: array
        - name: priority__n
          in: query
          type: string
          description: '* `primary` - Primary'
        - name: priority__nic
          in: query
          type: array
        - name: priority__nie
          in: query
          type: array
        - name: priority__niew
          in: query
          type: array
        - name: priority__nisw
          in: query
          type: array
        - name: priority__regex
          in: query
          type: array
        - name: q
          in: query
          type: string
          description: Search
        - name: role
          in: query
          type: array
          description: Contact role (slug)
        - name: role__n
          in: query
          type: array
          description: Contact role (slug)
        - name: role_id
          in: query
          type: array
          description: Contact role (ID)
        - name: role_id__n
          in: query
          type: array
          description: Contact role (ID)
        - name: tag
          in: query
          type: array
        - name: tag__n
          in: query
          type: array
        - name: tag_id
          in: query
          type: array
        - name: tag_id__n
          in: query
          type: array
        - name: updated_by_request
          in: query
          type: string
      - name: tenancycontactassignmentscreate
        method: POST
        description: Post a list of contact assignment objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactassignmentsbulkupdate
        method: PUT
        description: Put a list of contact assignment objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactassignmentsbulkpartialupdate
        method: PATCH
        description: Patch a list of contact assignment objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactassignmentsbulkdestroy
        method: DELETE
        description: Delete a list of contact assignment objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-tenancy-contact-assignments-id
      path: /api/tenancy/contact-assignments/{id}/
      operations:
      - name: tenancycontactassignmentsretrieve
        method: GET
        description: Get a contact assignment object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact assignment.
          required: true
      - name: tenancycontactassignmentsupdate
        method: PUT
        description: Put a contact assignment object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact assignment.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactassignmentspartialupdate
        method: PATCH
        description: Patch a contact assignment object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact assignment.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: tenancycontactassignmentsdestroy
        method: DELETE
        description: Delete a contact assignment object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact assignment.
          required: true
    - name: api-tenancy-contact-groups
      path: /api/tenancy/contact-groups/
      operations:
      - name: tenancycontactgroupslist
        method: GET
        description: Get a list of contact group objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ancestor
          in: query
          type: array
        - name: ancestor__n
          in: query
          type: array
        - name: ancestor_id
          in: query
          type: array
        - name: ancestor_id__n
          in: query
          type: array
        - name: contact_id
          in: query
          type: array
          description: Contact (ID)
        - name: contact_id__n
          in: query
          type: array
          description: Contact (ID)
        - name: created
          in: query
          type: array
        - name: created__empty
          in: query
          type: array
        - name: created__gt
          in: query
          type: array
        - name: created__gte
          in: query
          type: array
        - name: created__lt
          in: query
          type: array
        - name: created__lte
          in: query
          type: array
        - name: created__n
          in: query
          type: array
        - name: created_by_request
          in: query
          type: string
        - name: description
          in: query
          type: array
        - name: description__empty
          in: query
          type: boolean
        - name: description__ic
          in: query
          type: array
        - name: description__ie
          in: query
          type: array
        - name: description__iew
          in: query
          type: array
        - name: description__iregex
          in: query
          type: array
        - name: description__isw
          in: query
          type: array
        - name: description__n
          in: query
          type: array
        - name: description__nic
          in: query
          type: array
        - name: description__nie
          in: query
          type: array
        - name: description__niew
          in: query
          type: array
        - name: description__nisw
          in: query
          type: array
        - name: description__regex
          in: query
          type: array
        - name: id
          in: query
          type: array
        - name: id__empty
          in: query
          type: boolean
        - name: id__gt
          in: query
          type: array
        - name: id__gte
          in: query
          type: array
        - name: id__lt
          in: query
          type: array
        - name: id__lte
          in: query
          type: array
        - name: id__n
          in: query
          type: array
        - name: last_updated
          in: query
          type: array
        - name: last_updated__empty
          in: query
          type: array
        - name: last_updated__gt
          in: query
          type: array
        - name: last_updated__gte
          in: query
          type: array
        - name: last_updated__lt
          in: query
          type: array
        - name: last_updated__lte
          in: query
          type: array
        - name: last_updated__n
          in: query
          type: array
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: modified_by_request
          in: query
          type: string
        - name: name
          in: query
          type: array
        - name: name__empty
          in: query
          type: boolean
        - name: name__ic
          in: query
          type: array
        - name: name__ie
          in: query
          type: array
        - name: name__iew
          in: query
          type: array
        - name: name__iregex
          in: query
          type: array
        - name: name__isw
          in: query
          type: array
        - name: name__n
          in: query
          type: array
        - name: name__nic
          in: query
          type: array
        - name: name__nie
          in: query
          type: array
        - name: name__niew
          in: query
          type: array
        - name: name__nisw
          in: query
          type: array
        - name: name__regex
          in: query
          type: array
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: owner
          in: query
          type: array
          description: Owner (name)
        - name: owner__n
          in: query
          type: array
          description: Owner (name)
        - name: owner_group
          in: query
          type: array
          description: Owner Group (name)
        - name: owner_group__n
          in: query
          type: array
          description: Owner Group (name)
        - name: owner_group_id
          in: query
          type: array
          description: Owner Group (ID)
        - name: owner_group_id__n
          in: query
          type: array
          description: Owner Group (ID)
        - name: owner_id
          in: query
          type: array
          description: Owner (ID)
        - name: owner_id__n
          in: query
          type: array
          description: Owner (ID)
        - name: parent
          in: query
          type: array
          description: Parent contact group (slug)
        - name: parent__n
          in: query
          type: array
          description: Parent contact group (slug)
        - name: parent_id
          in: query
          type: array
          description: Parent contact group (ID)
        - name: parent_id__n
          in: query
          type: array
          description: Parent contact group (ID)
        - name: q
          in: query
          type: string
          description: Search
        - name: slug
          in: query
          type: array
        - name: slug__empty
          in: query
          type: boolean
        - name: slug__ic
          in: query
          type: array
        - name: slug__ie
          in: query
          type: array
        - name: slug__iew
          in: query
          type: array
        - name: slug__iregex
          in: query
          type: array
        - name: slug__isw
          in: query
          type: array
        - name: slug__n
          in: query
          type: array
        - name: slug__nic
          in: query
          type: array
        - name: slug__nie
          in: query
          type: array
        - name: slug__niew
          in: query
          type: array
        - name: slug__nisw
          in: query
          type: array
        - name: slug__regex
          in: query
          type: array
        - name: tag
          in: query
          type: array
        - name: tag__n
          in: query
          type: array
        - name: tag_id
          in: query
          type: array
        - name: tag_id__n
          in: query
          type: array
        - name: updated_by_request
          in: query
          type: string
      - name: tenancycontactgroupscreate
        method: POST
        description: Post a list of contact group objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactgroupsbulkupdate
        method: PUT
        description: Put a list of contact group objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactgroupsbulkpartialupdate
        method: PATCH
        description: Patch a list of contact group objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactgroupsbulkdestroy
        method: DELETE
        description: Delete a list of contact group objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-tenancy-contact-groups-id
      path: /api/tenancy/contact-groups/{id}/
      operations:
      - name: tenancycontactgroupsretrieve
        method: GET
        description: Get a contact group object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact group.
          required: true
      - name: tenancycontactgroupsupdate
        method: PUT
        description: Put a contact group object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact group.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactgroupspartialupdate
        method: PATCH
        description: Patch a contact group object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact group.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: tenancycontactgroupsdestroy
        method: DELETE
        description: Delete a contact group object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact group.
          required: true
    - name: api-tenancy-contact-roles
      path: /api/tenancy/contact-roles/
      operations:
      - name: tenancycontactroleslist
        method: GET
        description: Get a list of contact role objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: created
          in: query
          type: array
        - name: created__empty
          in: query
          type: array
        - name: created__gt
          in: query
          type: array
        - name: created__gte
          in: query
          type: array
        - name: created__lt
          in: query
          type: array
        - name: created__lte
          in: query
          type: array
        - name: created__n
          in: query
          type: array
        - name: created_by_request
          in: query
          type: string
        - name: description
          in: query
          type: array
        - name: description__empty
          in: query
          type: boolean
        - name: description__ic
          in: query
          type: array
        - name: description__ie
          in: query
          type: array
        - name: description__iew
          in: query
          type: array
        - name: description__iregex
          in: query
          type: array
        - name: description__isw
          in: query
          type: array
        - name: description__n
          in: query
          type: array
        - name: description__nic
          in: query
          type: array
        - name: description__nie
          in: query
          type: array
        - name: description__niew
          in: query
          type: array
        - name: description__nisw
          in: query
          type: array
        - name: description__regex
          in: query
          type: array
        - name: id
          in: query
          type: array
        - name: id__empty
          in: query
          type: boolean
        - name: id__gt
          in: query
          type: array
        - name: id__gte
          in: query
          type: array
        - name: id__lt
          in: query
          type: array
        - name: id__lte
          in: query
          type: array
        - name: id__n
          in: query
          type: array
        - name: last_updated
          in: query
          type: array
        - name: last_updated__empty
          in: query
          type: array
        - name: last_updated__gt
          in: query
          type: array
        - name: last_updated__gte
          in: query
          type: array
        - name: last_updated__lt
          in: query
          type: array
        - name: last_updated__lte
          in: query
          type: array
        - name: last_updated__n
          in: query
          type: array
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: modified_by_request
          in: query
          type: string
        - name: name
          in: query
          type: array
        - name: name__empty
          in: query
          type: boolean
        - name: name__ic
          in: query
          type: array
        - name: name__ie
          in: query
          type: array
        - name: name__iew
          in: query
          type: array
        - name: name__iregex
          in: query
          type: array
        - name: name__isw
          in: query
          type: array
        - name: name__n
          in: query
          type: array
        - name: name__nic
          in: query
          type: array
        - name: name__nie
          in: query
          type: array
        - name: name__niew
          in: query
          type: array
        - name: name__nisw
          in: query
          type: array
        - name: name__regex
          in: query
          type: array
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: ordering
          in: query
          type: string
          description: Which field to use when ordering the results.
        - name: owner
          in: query
          type: array
          description: Owner (name)
        - name: owner__n
          in: query
          type: array
          description: Owner (name)
        - name: owner_group
          in: query
          type: array
          description: Owner Group (name)
        - name: owner_group__n
          in: query
          type: array
          description: Owner Group (name)
        - name: owner_group_id
          in: query
          type: array
          description: Owner Group (ID)
        - name: owner_group_id__n
          in: query
          type: array
          description: Owner Group (ID)
        - name: owner_id
          in: query
          type: array
          description: Owner (ID)
        - name: owner_id__n
          in: query
          type: array
          description: Owner (ID)
        - name: q
          in: query
          type: string
          description: Search
        - name: slug
          in: query
          type: array
        - name: slug__empty
          in: query
          type: boolean
        - name: slug__ic
          in: query
          type: array
        - name: slug__ie
          in: query
          type: array
        - name: slug__iew
          in: query
          type: array
        - name: slug__iregex
          in: query
          type: array
        - name: slug__isw
          in: query
          type: array
        - name: slug__n
          in: query
          type: array
        - name: slug__nic
          in: query
          type: array
        - name: slug__nie
          in: query
          type: array
        - name: slug__niew
          in: query
          type: array
        - name: slug__nisw
          in: query
          type: array
        - name: slug__regex
          in: query
          type: array
        - name: tag
          in: query
          type: array
        - name: tag__n
          in: query
          type: array
        - name: tag_id
          in: query
          type: array
        - name: tag_id__n
          in: query
          type: array
        - name: updated_by_request
          in: query
          type: string
      - name: tenancycontactrolescreate
        method: POST
        description: Post a list of contact role objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactrolesbulkupdate
        method: PUT
        description: Put a list of contact role objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactrolesbulkpartialupdate
        method: PATCH
        description: Patch a list of contact role objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactrolesbulkdestroy
        method: DELETE
        description: Delete a list of contact role objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-tenancy-contact-roles-id
      path: /api/tenancy/contact-roles/{id}/
      operations:
      - name: tenancycontactrolesretrieve
        method: GET
        description: Get a contact role object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact role.
          required: true
      - name: tenancycontactrolesupdate
        method: PUT
        description: Put a contact role object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact role.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: tenancycontactrolespartialupdate
        method: PATCH
        description: Patch a contact role object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact role.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: tenancycontactrolesdestroy
        method: DELETE
        description: Delete a contact role object.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this contact role.
          required: true
    - name: api-tenancy-contacts
      path: /api/tenancy/contacts/
      operations:
      - name: tenancycontactslist
        method: GET
        description: Get a list of contact objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: address
          in: query
          type: array
        - name: address__empty
          in: query
          type: boolean
        - name: address__ic
          in: query
          type: array
        - name: address__ie
          in: query
          type: array
        - name: address__iew
          in: query
          type: array
        - name: address__iregex
          in: query
          type: array
        - name: address__isw
          in: query
          type: array
        - name: address__n
          in: query
          type: array
        - name: address__nic
          in: query
          type: array
        - name: address__nie
          in: query
          type: array
        - name: address__niew
          in: query
          type: array
        - name: address__nisw
          in: query
          type: array
        - name: address__regex
          in: query
          type: array
        - name: created
          in: query
          type: array
        - name: created__empty
          in: query
          type: array
        - name: created__gt
          in: query
          type: array
        - name: created__gte
          in: query
          type: array
        - name:

# --- truncated at 32 KB (142 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/netbox/refs/heads/main/capabilities/netbox-tenancy.yaml