---
title: "PATCH /account_roles/{id}/"
method: PATCH
path: "/account_roles/{id}/"
tags: ["account_roles"]
---

# PATCH /account_roles/{id}/

`PATCH /account_roles/{id}/`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `format` 'json' | 'xml'

## Request body

- PatchedAccountRole
  - `id` string, uuid
  - `url` string, uri
  - `account` string, uri
  - `user` string, uri
  - `state` 'inactive' | 'active' | 'deleted'
  - `email` string, email
  - `display_name` string, nullable
  - `phone` string
  - `vehicle_registration_number` string
  - `vehicle_profile` 'bike' | 'bus' | 'car' | 'foot' | 'scooter' | 'small_truck' | 'truck'
  - `vehicle_capacity` integer[], nullable
  - `vehicle_speed_factor` string, decimal
  - `vehicle_service_time_factor` string, decimal
  - `route_start_address` NestedAddress
    - `raw_address` string
    - `formatted_address` string
    - `location` Location
      - `type` 'Point', required
      - `coordinates` number[], required
    - `google_place_id` string
    - `point_of_interest` string
    - `street` string
    - `house_number` string
    - `apartment_number` string, nullable
    - `city` string
    - `state` string
    - `postal_code` string
    - `country` string
    - `country_code` string
    - `geocoded_at` string, date-time, required
    - `geocode_failed_at` string, date-time, required
  - `route_end_address` NestedAddress
    - `raw_address` string
    - `formatted_address` string
    - `location` Location
      - `type` 'Point', required
      - `coordinates` number[], required
    - `google_place_id` string
    - `point_of_interest` string
    - `street` string
    - `house_number` string
    - `apartment_number` string, nullable
    - `city` string
    - `state` string
    - `postal_code` string
    - `country` string
    - `country_code` string
    - `geocoded_at` string, date-time, required
    - `geocode_failed_at` string, date-time, required
  - `signature_image` string, uri
  - `is_manager` boolean
  - `is_worker` boolean
  - `is_integration` boolean
  - `is_active` boolean
  - `is_on_duty` boolean
  - `show_unassigned` boolean
  - `last_time_location` string, uri
  - `activated_at` string, date-time
  - `deleted_at` string, date-time
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Response `200`

---

[API](https://skmtc.net/oeklo/apis/gsmtasks-project-api.md) · [All operations](https://skmtc.net/oeklo/apis/gsmtasks-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oeklo/gsmtasks-project-api/revisions/2557a8fec764/schema)
