Returns a list of all permission schemes. By default only shortened beans are returned. If you want to include permissions of all the schemes, then specify the permissions expand parameter. Permissions will be included also if you specify any other expand parameter.
string
List of all permission schemes
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/permissionscheme' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Create a new permission scheme. This method can create schemes with a defined permission set, or without.
string
string
string
integer
string
array<PermissionGrantBean>
string
Returned if the scheme is created successfully.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/permissionscheme' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns the attribute for a permission scheme specified by permission scheme id and attribute key.