Skip to main content
POST
Create a new asset group

Authorizations

Authorization
string
header
required

OAuth2 Client Credentials Flow

Body

application/json

You must provide the object that matches the type of asset group you are creating. So if you are specify type "location" you must provide the "location" object

type
enum<string>
required

The type of asset group to be created

Available options:
location
sitePartners
string[]
required

An array of site partner IDs related to the asset group

Required string length: 1 - 50
network
string

The ID of the network associated with the asset group

Required string length: 1 - 50
location
object

Details specific to the location type of asset group

metadata
object

Additional metadata for the asset group

Response

Asset group successfully created

id
string
required
type
enum<string>
required
Available options:
location
network
object
required
sitePartners
object[]
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
location
object

Will be present if the type of the asset group is "location"

metadata
object