Core GraphQL APIReferenceQueries
Identity__me
Requires a signed-in staff user.
QUERY
identity__me: UserRequires a signed-in staff user.
Returns
- identity__me
_id*ID!accountStatus?UserAccountStatusValue in
ACTIVEINACTIVESUSPENDEDauthProviders?avatar?commits?createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
email?StringlastLoginAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
memberships?mustChangePassword?Booleanname?Stringnotices?phoneNumber?StringphoneVerifiedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
shippingAddress?systemRoles?[String!]updatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Example Request
query Identity__me { identity__me { _id accountStatus authProviders { email linkedAt provider subject } avatar { alt external fileAssetId key provider } createdAt email lastLoginAt mustChangePassword name phoneNumber }}{ "data": { "identity__me": { "_id": "1", "accountStatus": "ACTIVE", "authProviders": [ { "email": "string", "linkedAt": "<DateTime>", "provider": "GOOGLE", "subject": "string" } ], "avatar": { "alt": "string", "external": "string", "fileAssetId": "1", "key": "string", "provider": "CLOUDINARY" }, "createdAt": "<DateTime>", "email": "string", "lastLoginAt": "<DateTime>", "mustChangePassword": true, "name": "string", "phoneNumber": "string" } }}