Skip to main content
POST
/
api
/
{organization_id}
/
usage-group-sets
/
{usage_group_set_id}
/
versions
Create a new version of a usage group set
curl --request POST \
  --url https://api.select.dev/api/{organization_id}/usage-group-sets/{usage_group_set_id}/versions \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "created_by": "<string>",
  "usage_group_set_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

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<uuid>
required

The ID of the usage group set

organization_id
string
required

Response

Successful Response

Response schema for version creation.

id
string<uuid>
required

The unique identifier of the newly created version.

created_at
string<date-time>
required

The timestamp when the version was created.

created_by
string
required

The user/API key that created this version.

usage_group_set_id
string<uuid>
required

The ID of the usage group set this version belongs to.