Auth0 Home Blog Docs

iOS update user metadata



I am trying to use the iOS SDK to update user metadata. I can authenticate, get credentials, and get a profile. But when I try to update the user metadata I get a 401 error (Invalid Token). I am following the example from here:

Is this supported in newer accounts?


Hi @andrew.fitzpatrick,

This is because for updating user information you need to interact with the management API, and the Auth0 Management APIv2 token is required to call the Auth0 Management API.

Learn more about how to get a Management APIv2 Token here

Hope this helps!