Users
Return information about the current user (based on JWT token) including permissions
🔒 Requires the read:users permission
Information about the current user with permissions
Information about the current user with permissions
The user's unique ID e.g. prov0|1234567890
prov0|1234567890The user's full name
John DoeThe user's profile picture
https://example.com/profile.jpgThe user's first name
JohnThe user's last name
DoeThe user's nickname
JDThe date and time the resource was created e.g. 2022-01-01T00:00:00.000Z
Array of user's permissions
read:usersHMAC SHA-256 hash of the user email for Pylon identity verification
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6Failed to fetch user information
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:users permission
User not found
Too many requests
Return basic information about user by ID
🔒 Requires the read:users permission
The user's unique ID e.g. prov0|1234567890
prov0|1234567890Information about user
Information about user
The user's unique ID e.g. prov0|1234567890
prov0|1234567890The user's full name
John DoeThe user's profile picture
https://example.com/profile.jpgThe user's first name
JohnThe user's last name
DoeThe user's nickname
JDThe date and time the resource was created e.g. 2022-01-01T00:00:00.000Z
Failed to fetch user information
Failed to authenticate user
Missing required scopes. 🔒 Requires the read:users permission
User not found
Too many requests
Update roles to user by id
🔒 Requires the update:users permission
The user's unique ID e.g. prov0|1234567890
prov0|1234567890["rol_abCdeFghIjklMnmP"]If true, add the new role to an existing one. If false, override an existing role
User roles updated successfully
User roles updated successfully
The user's unique ID e.g. prov0|1234567890
prov0|1234567890The user's full name
John DoeThe user's profile picture
https://example.com/profile.jpgFailed to update user roles
Failed to authenticate user
Missing required scopes. 🔒 Requires the update:users permission
User not found
Too many requests
Last updated
Was this helpful?

