Update Datagroup

Version 4.0.24.6 (latest)

Update a datagroup using the specified params.

Request

PATCH /datagroups/{datagroup_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
datagroup_id
string
ID of datagroup.
body
HTTP Body
Expand HTTP Body definition...
body
Datagroup
Expand Datagroup definition...
can
object
Operations the current user is able to perform on this object
created_at
integer
UNIX timestamp at which this entry was created.
id
string
Unique ID of the datagroup
model_name
string
Name of the model containing the datagroup. Unique when combined with name.
name
string
Name of the datagroup. Unique when combined with model_name.
stale_before
integer
UNIX timestamp before which cache entries are considered stale. Cannot be in the future.
trigger_check_at
integer
UNIX timestamp at which this entry trigger was last checked.
trigger_error
string
The message returned with the error of the last trigger check.
trigger_value
string
The value of the trigger when last checked.
triggered_at
integer
UNIX timestamp at which this entry became triggered. Cannot be in the future.

Response

200: Datagroup

Datatype
Description
(object)
can
object
Operations the current user is able to perform on this object
created_at
integer
UNIX timestamp at which this entry was created.
id
string
Unique ID of the datagroup
model_name
string
Name of the model containing the datagroup. Unique when combined with name.
name
string
Name of the datagroup. Unique when combined with model_name.
stale_before
integer
UNIX timestamp before which cache entries are considered stale. Cannot be in the future.
trigger_check_at
integer
UNIX timestamp at which this entry trigger was last checked.
trigger_error
string
The message returned with the error of the last trigger check.
trigger_value
string
The value of the trigger when last checked.
triggered_at
integer
UNIX timestamp at which this entry became triggered. Cannot be in the future.

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

409: Resource Already Exists

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link