Skip to content

Admin API /users/ POST request data #285

Closed Answered by pcnoic
pcnoic asked this question in Q&A
Discussion options

You must be logged in to vote

My bad. Essentially what is returned from the POST endpoints, are values you can also pass to the request as data. So, for anything you want to add to user fields, you have to use fields: {}.

https://example.fief.dev/admin/api/docs#/Users/users_update_users__id__patch

Leaving this here for anyone that might have the same (naive) question as me in the future. Cheers.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Bananen1234
Comment options

Answer selected by pcnoic
Comment options

You must be logged in to vote
2 replies
@Bananen1234
Comment options

@frankie567
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants