I have created an image service through a python script by first creating the draft and then staging and uploading the service definittion to the portal using these three function from arcpy in the same order "CreateImageSDDraft", "StageService_server", "UploadServiceDefinition_server".
Now i want to access the ID of the service that has been created so i can modify the contents or delete the service. How can i access the ID through python?