Get My User Information
Retrieve a user's information.
GET
/
api
/v2
/me
curl -X GET "<API_URL>/api/v2/me" \
-H "Authorization: Bearer <API_KEY>"
A successful response.
{
"userId": "string",
"userEmail": "string",
"organizations": [
{
"organizationId": "string",
"organizationName": "string"
}
],
"isAdmin": true,
"permissions": {
"organizationPermissionResources": {
"property1": {
"permissionResources": {
"property1": {
"assetIds": [
"string"
],
"allAssets": true
},
"property2": {
"assetIds": [
"string"
],
"allAssets": true
}
}
},
"property2": {
"permissionResources": {
"property1": {
"assetIds": [
"string"
],
"allAssets": true
},
"property2": {
"assetIds": [
"string"
],
"allAssets": true
}
}
}
}
},
"createdDate": "2019-08-24T14:15:22Z",
"hashBasedMessageAuthenticationCode": "string"
}