Hi Cobhamuser1,
Could you please check whether do you have PLUS or not ? if don't have PLUS license ,then check profile service option is enabled from GUI or not ?
If it is enabled ,then disable it and try to delete to it ,then it will work fine .
Thanks
VenkataKrishna
PS: Please don't forget to rate and mark as correct answer if this solved your issue