Skip to main content

Update Group

PATCH 

https://secure.fleetio.com/api/v1/groups/:id

Update a Group

Request

Path Parameters

    id stringrequired

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Body

    namestring

    Possible values: <= 255 characters

    defaultboolean

    Indicates whether this Group is the default Group.

    parent_idId (integer)

    Possible values: >= 1

    hierarchystring

    Create Group(s) from a pipe delimited hierarchy string. Will start from the end of the string and create the necessary Groups to produce the desired hierarchy.

Responses

OK

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)

Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
Body
{
  "name": "string",
  "default": true,
  "parent_id": 0,
  "hierarchy": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!