Quantcast
Channel: Zammad - Community - Latest posts
Viewing all articles
Browse latest Browse all 6819

Create items with API: permission_ids list for roles

$
0
0

Infos:

  • Used Zammad version: 6.2.0-1710170837.6e9cfa61.jammy amd64
  • Used Zammad installation type: package
  • Operating system: Debian 12
  • Browser + version: 123.0 (64-bit

I’m currently exploring how to efficiently create multiple items such as groups and roles using the API.

In the API documentation for creating roles, I noticed the array of permission_ids that can be specified when creating a role:

{
   "active": true,
   "default_at_signup": false,
   "group_ids": {
      "1": "full",
      "2": "full",
      "3": "full"
   },
   "id": "c-12",
   "name": "VIP service",
   "note": "Handling of VIP customers!",
   "permission_ids": [
      "57",
      "58"
   ]
}

My question is: Where can I find the correlation between permission_id and the corresponding permission?

Alternatively, is there a resource that provides a list mapping each permission to its permission_id, allowing me to accurately define them for the API call?

Thanks,
Skip


Viewing all articles
Browse latest Browse all 6819

Trending Articles