Access Control
Permission set
Please use <a href="https://developers.piwik.pro/reference/set_app_permission_for_user_v2">Set user permission for a given app</a> instead.<br><br> It sets permission for a given entity (ppms/user or ppms/app).
post/api/access-control/v2/entry/group
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"data": {
"type": "ppms/permissions/group",
"attributes": {
"entity": "ppms/app",
"entityId": "50fca71a-e4a7-4480-a612-a9ffbdf0935f",
"group": "manage",
"targetUserId": "8275cf58-93db-4cda-9d11-7262376c2c72"
}
}
}Response
No Content
Changes
No recorded changes to this operation across all 2 revisions of this API.