Error when trying to update users

When I try to do a partitial patch to update a user’s profile I get an error.

It says that the JSON Object I sent with the request is not a valid JSON object.
“<?xml version="1.0" encoding="UTF-8" standalone="yes"?>300Request Body should be a valid JSON object.”

with JSON: {“custom_attributes”:{“value”:“value”,“name”:“name”,“key”:“key”},“dept”:“dept”}

HTTP Error Code is 400

Method is PATCH

API Endpoint/s?{accountId}/users/{userId}

How To Reproduce
See above.

Hi @Maya_C4V ,

This should be an array of objects:

Hope it helps!


Yes that helps.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.