PUT
/
api
/
{organization_id}
/
usage-group-sets
/
{usage_group_set_id}
/
usage-groups
/
{usage_group_id}
Update a usage group
curl --request PUT \
  --url https://api.select.dev/api/{organization_id}/usage-group-sets/{usage_group_set_id}/usage-groups/{usage_group_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filter_expression": {
    "operator": "and",
    "filters": [
      {}
    ]
  },
  "filter_expression_json": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "budget": 123,
  "order": 123
}'
{
  "filter_expression": {
    "operator": "and",
    "filters": [
      {}
    ]
  },
  "filter_expression_json": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "usage_group_set_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "budget": 123,
  "order": 123,
  "usage_group_set_name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

usage_group_set_id
string
required

The ID of the usage group set

usage_group_id
string
required

The ID of the usage group

organization_id
string
required

Body

application/json

The usage group updates to apply. Only specified fields will be updated.

Response

200
application/json

Successful Response

The response is of type object.