Update device group partially
  • 28 Oct 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Update device group partially

  • Dark
    Light
  • PDF

Article summary

Patch
/devicegroups/{id}/

Operation is used to update specific fields in existing device group. Available from product version 3.4.

Security
API Key
Header parameter nameAuthorization

Token issued for API consumer.

Path parameters
id
integerRequired

Id of device group to update

Body parameters

Device group attributes and values to be updated

object
clazz
integer

Terminal type class

comments
string

comments

name
string

name

Responses
200

Object was updated successfully

object
clazz
integer

Terminal type class

comments
string

comments

devices
Array of integer

List of terminal type primary keys

integer
id
integer

Primary key

name
string

name

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error

404

Object was not found

{
  "details": "Not found."
}
object
details
string

Detailed description of error


Was this article helpful?