Skip to content

Sync user from IAM

POST
/v1/auth/sync

Creates or updates user record from IAM token claims, this is not necessary but enables better user experience by providing a consistent user tracking for human users across services.

OK

object
data
object
avatar_url
string
created_at
string
email
string
id
string
is_active
boolean
last_login_at
string
login_count
integer
name
string
role
string
updated_at
string
success
boolean

Unauthorized

object
error
string
message
string
Example
Success
success
boolean
Example
true

Forbidden

object
error
string
message
string
Example
Success
success
boolean
Example
true

Internal Server Error

object
error
string
message
string
Example
Success
success
boolean
Example
true