Export user information API
Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>/api/identity/user/v1.0
The WSO2 Identity Platform - Export user profile information API (version v1).
Download the OpenAPI definition (YAML)
Security schemes
OAuth2: oauth2
You can use the following OAuth grant type to securely access the respective API endpoints.
Authorization Code OAuth Flow
Authorization URL: 'https://api.asgardeo.io/t/{org-name}/oauth2/authorize'
This flow type is used for the me endpoint of TOTP APIs. You can use the following scope for this endpoint.
internal_login: Grant permission for an authenticated user for self-management.
me
Operations for the authenticated user.
Export user profile
GET /me
This API is used to export the user's information as a .json file.
Scope required:internal_login
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | UserProfile |
401 | Unauthorized | |
403 | Resource Forbidden | |
500 | Server Error | Error |
Schemas
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
message | string | Yes | |
description | string | ||
traceId | string |
UserProfile
Type: object
11 properties
| Name | Type | Required | Description |
|---|---|---|---|
user_profile | object | ||
user_profile.emailVerified | boolean | Specify if the user's email address is verified. | |
user_profile.backupCodeEnabled | boolean | Specifies if the user has enabled backup codes for login. | |
user_profile.givenname | string | User's first name. | |
user_profile.created | string | The date and time the user profile was created. | |
user_profile.modified | string | Last modified date and time of the user profile. | |
user_profile.emailaddress | string | User's email address. | |
user_profile.userid | string | Unique identifier of the user. | |
user_profile.totpEnabled | boolean | Specifies if the user has enabled TOTP for login. | |
user_profile.username | string | Username of the user. If a username is not configured, it will be the user's email address. | |
user_profile.lastname | string | The last name of the user. |
Was this page helpful?