I'm getting an exception "Input string was not in a correct format". I don't understand why. I looked at the documentation, but that didn't give me any ideas.
string body = string.Format(@"{
""credentials"": {
""name"": ""{0}"",
""password"": ""{1}"",
""site"": {
""contentUrl"": ""{2}""
}
}
}",Username, Password, siteName);
Not enough sleep and old code... I was deserializing the response but not serializing the request ♂️