FlipFlip Utility API
Groups

Update group

Rename a group or change its ID.

PATCH
/v1/programs/{programId}/groups/{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-]+$
Length1 <= length
namestring

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
}