Skip to main content
POST
/
v2
/
SystemRestoreUserProfile
Restore a deleted user profile
curl --request POST \
  --url http://localhost:3000/v2/SystemRestoreUserProfile \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "token": "<string>",
  "unlockuuid": "<string>",
  "tenantid": 123,
  "tenantname": "<string>",
  "request_metadata": {}
}
'
{
  "status": "ok",
  "result": "restored",
  "token": "<string>",
  "profile": {}
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
token
string
required

User's unique token (UUID) within the tenant

unlockuuid
string
required

UUID from bulk list unlock for authorization

tenantid
integer

Tenant ID where the user profile should be restored

tenantname
string

Tenant name where the user profile should be restored (alternative to tenantid)

request_metadata
object

Additional metadata for the request

Response

200 - application/json

User profile restored successfully

status
string
Example:

"ok"

result
string
Example:

"restored"

token
string

User's unique token

profile
object

Restored user profile data