When updating a user with the V3 Alteryx API, the field defaultCredentialId is a required field. The docs refer to it as:
However, I am not seeing this information when I pull the users data so where can I get this? Can I leave it blank?
Not 100% sure but in the Workflow endpoints section you can get a workflowID using:
Retrieve a Specific Workflow Record
To get information about a specific workflow, use the GET {baseURL}/v3/workflows/{workflowId} endpoint.
Parameters
Request Example: cURL
curl --location --request GET 'http://localhost/webapi/v3/workflows/61db393fc565144387d451fb' \
--header 'Authorization: Bearer BearerTokenGoesHere'
I've assumed that this unique ID is the same. If this isn't accurate perhaps someone more knowledgeable can confirm.
How would I know which one to use? Would any workflow that the user created work? Seems like this is a weird requirement.