Skip to main content

List Roles

Returns a list of Roles belonging to your account.

Query Parameters
  • start_cursor string

    The start cursor for Keyset pagination.

  • per_page integer

    Possible values: >= 2 and <= 100

    Default value: 50

    The number of records per page to return.

  • filter object

    The fields, operations, and values to filter the records by.

    • name object
      oneOf

    • like string required
    • created_at object
      oneOf

    • lt string required
    • updated_at object
      oneOf

    • lt string required
  • sort object

    The fields and direction to sort the results by.

    • id string

      Possible values: [asc, desc]

      Default value: desc

    • created_at string

      Possible values: [asc, desc]

    • updated_at string

      Possible values: [asc, desc]

Responses

OK


Schema

  • start_cursor string

    The current start cursor of the records returned.

  • next_cursor string

    The next cursor to retrieve the next page of records.

  • per_page integer

    The maxumum number of records returned.

  • estimated_remaining_count integer

    The number of remaining records including the returned records, up to a maximum of 500.

  • filtered_by object[]

    The filters applied to the returned record set.

    anyOf

  • name object
    oneOf

  • like string
  • sorted_by object[]

    The sorts applied to the returned record set.

    anyOf

  • updated_at string

    Possible values: [asc, desc]

  • records object[]
  • id integer

    Possible values: >= 1

  • created_at date-time

    The date and time at which this record was created.

  • updated_at date-time

    The date and time at which this record was most recently updated.

  • name string

    The name of this Role.

  • description string

    The description of this Role.

  • default boolean

    Whether this Role is applied as the default Role for new Users.

  • type string

    Possible values: [StandardRole, CustomRole]

    Indicates whether this role is a standard Fleetio role, or created by a user.

  • module_access object
  • contact_renewal_reminders_access string

    Possible values: [full, some, none]

    Default value: none

  • contacts_access string

    Possible values: [full, some, none]

    Default value: none

  • dashboards_access string

    Possible values: [full, some, none]

    Default value: none

  • documents_access string

    Possible values: [full, some, none]

    Default value: none

  • equipments_access string

    Possible values: [full, some, none]

    Default value: none

  • expense_entries_access string

    Possible values: [full, some, none]

    Default value: none

  • faults_access string

    Possible values: [full, some, none]

    Default value: none

  • fuel_entries_access string

    Possible values: [full, some, none]

    Default value: none

  • inspections_access string

    Possible values: [full, some, none]

    Default value: none

  • integrations_access string

    Possible values: [full, some, none]

    Default value: none

  • issues_access string

    Possible values: [full, some, none]

    Default value: none

  • location_entries_access string

    Possible values: [full, some, none]

    Default value: none

  • meter_entries_access string

    Possible values: [full, some, none]

    Default value: none

  • msi_access string

    Possible values: [full, some, none]

    Default value: none

  • parts_inventory_access string

    Possible values: [full, some, none]

    Default value: none

  • places_access string

    Possible values: [full, some, none]

    Default value: none

  • purchase_orders_access string

    Possible values: [full, some, none]

    Default value: none

  • recalls_access string

    Possible values: [full, some, none]

    Default value: none

  • reports_access string

    Possible values: [full, some, none]

    Default value: none

  • service_entries_access string

    Possible values: [full, some, none]

    Default value: none

  • service_programs_access string

    Possible values: [full, some, none]

    Default value: none

  • service_reminders_access string

    Possible values: [full, some, none]

    Default value: none

  • service_task_management_access string

    Possible values: [full, some, none]

    Default value: none

  • vehicle_renewal_reminders_access string

    Possible values: [full, some, none]

    Default value: none

  • vehicles_access string

    Possible values: [full, some, none]

    Default value: none

  • vendors_access string

    Possible values: [full, some, none]

    Default value: none

  • work_orders_access string

    Possible values: [full, some, none]

    Default value: none

  • module_permissions object
  • vehicles_create boolean
  • vehicles_edit boolean
  • vehicles_archive_delete boolean
  • vehicles_update_status boolean
  • vehicles_manage_vehicle_assignment boolean
  • vehicles_view_details boolean
  • vehicles_view_financial_info boolean
  • vehicles_view_custom_fields boolean
  • vehicles_view_documents boolean
  • vehicles_manage_documents boolean
  • vehicles_manage_photos boolean
  • vehicles_export_data boolean
  • equipments_create boolean
  • equipments_view_details boolean
  • equipments_view_financial_info boolean
  • equipments_view_custom_fields boolean
  • equipments_export_data boolean
  • equipments_view_documents boolean
  • equipments_manage_documents boolean
  • equipments_manage_photos boolean
  • equipments_archive_delete boolean
  • equipments_edit boolean
  • equipments_update_status boolean
  • equipments_manage_assignments boolean
  • meter_entries_create boolean
  • meter_entries_view boolean
  • meter_entries_export_data boolean
  • meter_entries_edit boolean
  • meter_entries_delete boolean
  • fuel_entries_create boolean
  • fuel_entries_view boolean
  • fuel_entries_export_data boolean
  • fuel_entries_edit boolean
  • fuel_entries_delete boolean
  • issues_create boolean
  • issues_view_open boolean
  • issues_view_resolved_or_closed boolean
  • issues_export_data boolean
  • issues_edit boolean
  • issues_delete boolean
  • issues_view_documents boolean
  • issues_manage_documents boolean
  • faults_view boolean
  • faults_export_data boolean
  • faults_ignore_codes boolean
  • recalls_view boolean
  • recalls_export_data boolean
  • recalls_ignore boolean
  • service_tasks_create boolean
  • service_tasks_edit boolean
  • service_tasks_archive_delete boolean
  • service_entries_create boolean
  • service_entries_view boolean
  • service_entries_view_update_cost_information boolean
  • service_entries_export_data boolean
  • service_entries_edit boolean
  • service_entries_delete boolean
  • service_entries_view_documents boolean
  • service_entries_manage_documents boolean
  • work_orders_create boolean
  • work_orders_view_incomplete boolean
  • work_orders_view_completed boolean
  • work_orders_view_update_cost_information boolean
  • work_orders_export_data boolean
  • work_orders_edit boolean
  • work_orders_manage_labor_time_entries boolean
  • work_orders_delete boolean
  • work_orders_view_documents boolean
  • work_orders_manage_documents boolean
  • inspections_manage_inspection_forms boolean
  • inspections_manage_schedules boolean
  • inspections_submit_inspections boolean
  • inspections_view_submissions boolean
  • inspections_export_data boolean
  • inspections_edit_submissions boolean
  • inspections_delete_submissions boolean
  • msi_manage_payment_profile boolean
  • msi_manage_ro_notifications boolean
  • msi_view_account_details boolean
  • msi_view_account_summary boolean
  • msi_view_repair_order_notifications boolean
  • msi_view_statements boolean
  • msi_view_transactions boolean
  • service_reminders_create boolean
  • service_reminders_view boolean
  • service_reminders_export_data boolean
  • service_reminders_edit boolean
  • service_reminders_delete boolean
  • service_programs_create_update boolean
  • service_programs_view boolean
  • vehicle_renewal_reminders_create boolean
  • vehicle_renewal_reminders_view boolean
  • vehicle_renewal_reminders_export_data boolean
  • vehicle_renewal_reminders_edit boolean
  • vehicle_renewal_reminders_delete boolean
  • contacts_create boolean
  • contacts_edit boolean
  • contacts_view_basic_info boolean
  • contacts_view_contact_and_personal_info boolean
  • contacts_view_custom_fields boolean
  • contacts_export_data boolean
  • contacts_archive_delete boolean
  • contacts_view_documents boolean
  • contacts_manage_documents boolean
  • contacts_manage_photos boolean
  • contact_renewal_reminders_create boolean
  • contact_renewal_reminders_view boolean
  • contact_renewal_reminders_export_data boolean
  • contact_renewal_reminders_edit boolean
  • contact_renewal_reminders_delete boolean
  • vendors_create boolean
  • vendors_view boolean
  • vendors_export_data boolean
  • vendors_edit boolean
  • vendors_delete boolean
  • vendors_view_documents boolean
  • vendors_manage_documents boolean
  • vendors_manage_photos boolean
  • parts_inventory_create_parts boolean
  • parts_inventory_edit_parts boolean
  • parts_inventory_update_inventory_quantities boolean
  • parts_inventory_view_part_details boolean
  • parts_inventory_view_part_activity boolean
  • parts_inventory_export_data boolean
  • parts_inventory_archive_delete_parts boolean
  • parts_inventory_view_documents boolean
  • parts_inventory_manage_documents boolean
  • purchase_orders_create_update boolean
  • purchase_orders_delete boolean
  • purchase_orders_view boolean
  • purchase_orders_export_data boolean
  • purchase_orders_receive boolean
  • purchase_orders_approve boolean
  • reports_vehicles boolean
  • reports_contacts boolean
  • reports_parts boolean
  • reports_view_external_reports boolean
  • reports_shared boolean
  • places_create boolean
  • places_view boolean
  • places_export_data boolean
  • places_edit boolean
  • places_delete boolean
  • location_entries_create boolean
  • location_entries_view boolean
  • location_entries_edit boolean
  • location_entries_delete boolean
  • expense_entries_create boolean
  • expense_entries_view boolean
  • expense_entries_export_data boolean
  • expense_entries_edit boolean
  • expense_entries_delete boolean
  • dashboards_manage boolean
  • dashboards_share boolean
  • documents_view_global_documents boolean
  • documents_manage_global_documents boolean
  • gps_manage_devices boolean
Loading...