cURL
curl --request POST \ --url http://localhost/api/component-groups \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "order": 1, "visible": true, "components": [ 1 ] } '
{ "data": { "id": "<string>", "type": "componentGroups", "attributes": { "id": 123, "name": "<string>", "order": 123, "visible": 0, "created": { "human": "<string>", "string": "<string>" }, "updated": { "human": "<string>", "string": "<string>" } }, "relationships": { "components": { "data": [ { "type": "components", "id": "<string>" } ] } } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
CreateComponentGroupRequestData
255
x >= 0
ComponentGroup
Show child attributes