Skip to content

Edit a Group

PUT
/groups/{id}

Change the configuration of a group, such as the group name or description.

#!/usr/bin/env bash
curl -X PUT https://api.lox24.eu/groups/12344 \
-H 'Content-Type: application/json' \
-H 'X-LOX24-AUTH-TOKEN: 1234567:e3f3a759b6677959b6ebfcxxxxxxxxxx' \
-d '{
"name": "My Clients",
"description": "Best clients",
"name_a": "prefix",
"name_b": "name",
"name_c": "datetime",
"name_d": "price",
"name_e": "something_else"
}'
id
required
integer

Group ID

The updated groups resource

Phone’s group

object
name
required

Group name

string
>= 1 characters <= 50 characters
description

Group description

string | null
<= 255 characters
name_a

Name of the column

string | null
<= 50 characters
name_b

Name of the column

string | null
<= 50 characters
name_c

Name of the column

string | null
<= 50 characters
name_d

Name of the column

string | null
<= 50 characters
name_e

Name of the column

string | null
<= 50 characters
phones
One of:
object
key
additional properties

Phones list by group

object
phone
required

Phone number

string
<= 30 characters
a

Phone column data

string | null
<= 1530 characters
b

Phone column data

string | null
<= 1530 characters
c

Phone column data

string | null
<= 1530 characters
d

Phone column data

string | null
<= 1530 characters
e

Phone column data

string | null
<= 1530 characters
callback_data

String which will be send back to your endpoint. E.g. it can be usable to pass your system message id.

string | null
<= 36 characters
deleted_at

Date and time when group will be deleted

string | null format: date-time
id

Group ID

integer
>= 1
count_items

Count of the item in the group

integer

Groups resource updated

Phone’s group

object
@context
One of:
string
@id

JSON-LD ID

string
@type

JSON-LD type

string
id

Group ID

integer
>= 1
name
required

Group name

string
>= 1 characters <= 50 characters
description

Group description

string | null
<= 255 characters
name_a

Name of the column

string | null
<= 50 characters
name_b

Name of the column

string | null
<= 50 characters
name_c

Name of the column

string | null
<= 50 characters
name_d

Name of the column

string | null
<= 50 characters
name_e

Name of the column

string | null
<= 50 characters
count_items

Count of the item in the group

integer
deleted_at

Date and time when group will be deleted

string | null format: date-time

Invalid input

Client ID or API key isn’t active or invalid!

Account isn’t activated. Please wait or contact to support!

Resource not found

The request was well-formed but was unable to be followed due to semantic errors

IP address was temporary blocked, because during short time from it was sent many request with invalid credentials. Please wait and try later.