File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ def create(self) -> None:
7474 self .action = 'Create configuration profile'
7575 self .path = f"{ self .api_path } /v2/{ self .customer_id } "
7676 params = {
77- "id" : self .profile_id ,
7877 "name" : self .name ,
7978 "externalReference" : self .externalReference ,
8079 "comment" : self .comment ,
@@ -89,6 +88,7 @@ def create(self) -> None:
8988 "attachedManagedEntities" : self .attachedManagedEntities
9089 }
9190 self ._call_post (params )
91+ return json .loads (self .content )
9292
9393 def read (self ) -> str :
9494 """
@@ -119,7 +119,7 @@ def read(self) -> str:
119119 self .attachedManagedEntities = conf_profile ['attachedManagedEntities' ]
120120 self .customer_id = conf_profile ['customerIds' ][0 ]
121121
122- return self .content
122+ return json . loads ( self .content )
123123
124124 def update (self ) -> str :
125125 """
@@ -150,7 +150,7 @@ def update(self) -> str:
150150 }
151151 self ._call_put (json .dumps (data ))
152152
153- return self .content
153+ return json . loads ( self .content )
154154
155155 def delete (self ) -> None :
156156 """
You can’t perform that action at this time.
0 commit comments