@@ -3772,7 +3772,7 @@ def update_permissionscheme(self, permission_id, name, description=None, permiss
3772
3772
- Sending an empty list will remove all permission grants from the permission scheme.
3773
3773
3774
3774
Cloud API docs: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-permission-schemes/#api-rest-api-3-permissionscheme-schemeid-put
3775
-
3775
+
3776
3776
:param permission_id: int, REQUIRED: The ID of the permission scheme to update.
3777
3777
:param name: str, REQUIRED: The name of the permission scheme. Must be unique.
3778
3778
:param description: str, OPTIONAL: A description for the permission scheme. Defaults to None.
@@ -3789,26 +3789,26 @@ def update_permissionscheme(self, permission_id, name, description=None, permiss
3789
3789
}
3790
3790
]
3791
3791
:param scope: OPTIONAL: The scope of the permission scheme.
3792
- :param expand: str, OPTIONAL: Use expand to include additional information in the response.
3793
- This parameter accepts a comma-separated list.
3792
+ :param expand: str, OPTIONAL: Use expand to include additional information in the response.
3793
+ This parameter accepts a comma-separated list.
3794
3794
Note that permissions are always included when you specify any value.
3795
3795
3796
3796
:return:
3797
3797
"""
3798
3798
base_url = self .resource_url ("permissionscheme" )
3799
- url = "{base_url}/{scheme_id}" .format (base_url = base_url , scheme_id = permission_id )
3799
+ url = "{base_url}/{scheme_id}" .format (base_url = base_url , scheme_id = permission_id )
3800
3800
data = {"name" : name }
3801
3801
if description is not None :
3802
3802
data ["description" ] = description
3803
3803
if permissions is not None :
3804
3804
data ["permissions" ] = permissions
3805
3805
if scope is not None :
3806
3806
data ["scope" ] = scope
3807
-
3807
+
3808
3808
params = {}
3809
3809
if expand :
3810
3810
params ["expand" ] = expand
3811
-
3811
+
3812
3812
return self .put (url , data = data , params = params )
3813
3813
3814
3814
"""
0 commit comments