Account
The signed-in user's profile, data export and deletion. Reference for API version 2026-11-11.
On this page
Get your profile
GET
/api/v1/users/me Authentication
- API key in X-API-Key
- API key or session token in Authorization: Bearer
Responses
200The profile.Body (application/json)
idstringemailstring (email)email_verifiedbooleannamestring or nullrolestring or nullorganization_idstring or nullavatar_urlstring or nullcompanystring or nullcountrystring or nullindustrystring or nulljob_titlestring or nullphonestring or nulluse_casestring or nullcreated_atstring or nullupdated_atstring or null
Example
curl "https://api.breachline.io/api/v1/users/me" \
-H "Authorization: Bearer $BREACHLINE_API_KEY"
{
"id": "string",
"email": "string",
"email_verified": true,
"name": "string",
"role": "string",
"organization_id": "string",
"avatar_url": "string",
"company": "string",
"country": "string",
"industry": "string",
"job_title": "string",
"phone": "string",
"use_case": "string",
"created_at": "string",
"updated_at": "string"
}
Update your profile
PUT
/api/v1/users/me Authentication
- API key in X-API-Key
- API key or session token in Authorization: Bearer
Request body
namestring or nullemailstring (email) or nullcountrystring or null- Maximum length
120
job_titlestring or null- Maximum length
120
companystring or null- Maximum length
200
industrystring or null- Maximum length
120
use_casestring or null- Maximum length
500
phonestring or null- Maximum length
40
Responses
200The updated profile.Body (application/json)
idstringemailstring (email)email_verifiedbooleannamestring or nullrolestring or nullorganization_idstring or nullavatar_urlstring or nullcompanystring or nullcountrystring or nullindustrystring or nulljob_titlestring or nullphonestring or nulluse_casestring or nullcreated_atstring or nullupdated_atstring or null
Example
curl -X PUT "https://api.breachline.io/api/v1/users/me" \
-H "Authorization: Bearer $BREACHLINE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
{
"id": "string",
"email": "string",
"email_verified": true,
"name": "string",
"role": "string",
"organization_id": "string",
"avatar_url": "string",
"company": "string",
"country": "string",
"industry": "string",
"job_title": "string",
"phone": "string",
"use_case": "string",
"created_at": "string",
"updated_at": "string"
}
Delete your account
DELETE
/api/v1/users/me Session onlyIrreversible. Needs a console session token issued within the last 5 minutes, so API keys cannot call it.
Authentication
- Console session token only (API keys are refused)
Responses
200Deleted.Body (application/json)
reasonstringrows_deletedinteger
Example
curl -X DELETE "https://api.breachline.io/api/v1/users/me" \
-H "Authorization: Bearer $BREACHLINE_SESSION_TOKEN"
{
"reason": "string",
"rows_deleted": 0
}
Export your data
GET
/api/v1/users/me/export Session onlyA JSON export of your account, memberships and API key metadata. Needs a console session token issued within the last 5 minutes.
Authentication
- Console session token only (API keys are refused)
Responses
200The export.Body (application/json)
export_versionstring or integergenerated_atstring (date-time)user_idstringaccountobjectmembershipsarray of objectsapi_keysarray of objectsnotestring
Example
curl "https://api.breachline.io/api/v1/users/me/export" \
-H "Authorization: Bearer $BREACHLINE_SESSION_TOKEN"
{
"export_version": "string",
"generated_at": "2026-11-11T00:00:00Z",
"user_id": "string",
"account": {},
"memberships": [
{}
],
"api_keys": [
{}
],
"note": "string"
}