curl --location --request GET '/v2/user/me'
{
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"type": {
"type": "string"
},
"attributes": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"username": {
"type": "string"
},
"role": {
"type": "string"
},
"email": {
"type": "string"
},
"locale": {
"type": "string"
},
"timezone": {
"type": "string"
},
"active_product": {
"type": "string"
},
"organization": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"incomplete_details": {
"type": "boolean",
"example": false
}
}
},
"created_at": {
"type": "string",
"format": "date_time"
},
"updated_at": {
"type": "string",
"format": "date_time"
},
"last_sign_in_at": {
"type": [
"string",
"null"
],
"format": "date_time",
"nullable": true
},
"last_sign_in_ip": {
"type": [
"string",
"null"
],
"nullable": true
},
"sign_in_count": {
"type": [
"integer",
"null"
],
"nullable": true
},
"two_factor_authentication": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"remind_to_enable": {
"type": "boolean"
},
"otp_sms_enabled": {
"type": "boolean"
},
"otp_totp_enabled": {
"type": "boolean"
},
"otp_phone": {
"type": [
"string",
"null"
],
"nullable": true
},
"otp_default_method": {
"type": [
"string",
"null"
],
"nullable": true
}
}
}
}
}
}
}
}
}
}
}
}