Access Control
Entity actions
Returns granted actions to a given entity for current user.
get/api/access-control/v2/entry/{entity_id}
Request
- Base URLhttps://example.piwik.pro
- AuthOAuth 2Client credentialsToken URL/auth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
entity_idstring uuid required
UUIDv4 identifier of given entity
Response
OK
Example response
{
"data": {
"type": "ppms/permission/entity/actions",
"id": "50fca71a-e4a7-4480-a612-a9ffbdf0935f",
"attributes": {
"actions": [
"view",
"edit",
"publish",
"delete",
"manage",
"add"
]
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.