post https://{account}.piwik.pro/api/user-groups/v1
Adds user group with unique name
Log in to see full request history
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
Loading…
Responses
400Bad Request
401Unauthorized
403Forbidden
Adds user group with unique name
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
400Bad Request
401Unauthorized
403Forbidden
xxxxxxxxxx
11curl --request POST \
--url https://example.piwik.pro/api/user-groups/v1 \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/json' \
--data '
{
"data": {
"type": "ppms/user-group"
}
}
'
xxxxxxxxxx
11{
"data": {
"type": "ppms/user-group",
"id": "6edb1e3c-4c43-4760-ab76-682ad83146be",
"attributes": {
"name": "Managers",
"created_at": "2025-04-13T05:54:49.425Z",
"updated_at": "2025-04-13T05:54:49.425Z"
}
}
}