Skip to content

Commit

Permalink
Merge pull request #93 from cadonuno/main
Browse files Browse the repository at this point in the history
Removing unnecessary 'profile' node from create/update custom role
  • Loading branch information
tjarrettveracode authored Nov 28, 2024
2 parents e5cc7d6 + e494c9b commit 06f3773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion veracode_api_py/identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def _create_or_update(self, method, role_name, role_description, role_guid: UUID
if len(child_roles) > 0:
role_def['child_roles'] = child_roles

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

class Permissions():
Expand Down

0 comments on commit 06f3773

Please sign in to comment.