Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Where can I fine defaultCredentialId ? v3 API

Link86
8 - Asteroid

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?

3 REPLIES 3
apathetichell
20 - Arcturus

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 

  • workflowId (string): Required. Enter the workflow ID to get information about this workflow. 

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.

Link86
8 - Asteroid

How would I know which one to use? Would any workflow that the user created work? Seems like this is a weird requirement.

nbrenner
7 - Meteor

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.

Labels
Top Solution Authors