pub async fn update_permission_scheme(
configuration: &Configuration,
scheme_id: i64,
permission_scheme: PermissionScheme,
expand: Option<&str>,
) -> Result<PermissionScheme, Error<UpdatePermissionSchemeError>>
Expand description
Updates a permission scheme. Below are some important things to note when using this resource: * If a permissions list is present in the request, then it is set in the permission scheme, overwriting all existing grants. * If you want to update only the name and description, then do not send a permissions list in the request. * Sending an empty list will remove all permission grants from the permission scheme. If you want to add or delete a permission grant instead of updating the whole list, see Create permission grant or Delete permission scheme entity. See About permission schemes and grants for more details. Permissions required: Administer Jira global permission.