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.
Was there ever an answer to this? I have the same question. Trying to update a user via API as there account is inactive and we cannot get to it from the admin panel. Yet, I don't know what to enter for this. I guess a workflow ID from a random workflow they will need access to? A very odd requirement indeed, especially as it is not returned in the default schema payload.
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |