Groups
Update group
Rename a group or change its ID.
AuthorizationBearer <token>
API key passed as a Bearer token. Contact your Flip account manager to obtain credentials.
In: header
Path Parameters
idstring
programIdstring
idstring
Match
^[\w-]+$Length
1 <= lengthnamestring
Response Body
curl -X PATCH "https://api-utility.flip.energy/v1/programs/string/groups/string" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "name": "string" }'{
"id": "my-group",
"name": "My Group"
}{
"code": "string",
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
],
"errors": [
{
"message": "string",
"path": "string"
}
],
"message": "string",
"status_code": 0
}{
"code": "string",
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
],
"errors": [
{
"message": "string",
"path": "string"
}
],
"message": "string",
"status_code": 0
}{
"code": "string",
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
],
"errors": [
{
"message": "string",
"path": "string"
}
],
"message": "string",
"status_code": 0
}