Skip to content

Commit 06f3773

Browse files
Merge pull request #93 from cadonuno/main
Removing unnecessary 'profile' node from create/update custom role
2 parents e5cc7d6 + e494c9b commit 06f3773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

veracode_api_py/identity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def _create_or_update(self, method, role_name, role_description, role_guid: UUID
298298
if len(child_roles) > 0:
299299
role_def['child_roles'] = child_roles
300300

301-
payload = json.dumps({"profile": role_def})
301+
payload = json.dumps(role_def)
302302
return APIHelper()._rest_request(uri,httpmethod,body=payload)
303303

304304
class Permissions():

0 commit comments

Comments
 (0)