Create a new Capacity Group

PUT {{baseUrl}}/v1/configuration/capacitygroup

Allows you to either create a new capacity group or update an existing one. If an existing capacityGroupId is passed in the request, then an update will be performed. If no capacityGroupId is passed, then a new capacity group is created.

Request Body

{"capacityGroup"=>{"description"=>"<string>", "maximumCapacity"=>"<integer>", "capacityGroupId"=>"<integer>"}}

HEADERS

KeyDatatypeRequiredDescription
apikeystringAuthentication to Voxbone APIs is handled via key based authentication. You can manage your API key on our platform under Account Settings. Please use our API quickstart guide for more help.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;capacityGroup&quot;:{&quot;capacityGroupId&quot;:72311,&quot;maximumCapacity&quot;:100,&quot;description&quot;:&quot;USA&quot;,&quot;amountOfDidsMapped&quot;:null}}