numerous-agency-95303
12/11/2023, 6:54 AMAbcde123456
SALT:
4ebmRUs=
HASH:
fec82c61aa5a61864f1a63d20181cdd90e67461f
pf: {PASSWORD}{SALT}
Hashed Password Value With Encoding:
$sha1$pf=e1BBU1NXT1JEfXtTQUxUfQ==$NGVibVJVcz0=$ZmVjODJjNjFhYTVhNjE4NjRmMWE2M2QyMDE4MWNkZDkwZTY3NDYxZg==
Command:
curl --location --request PATCH 'https://<project>.projects.oryapis.com/admin/identities' \
--header 'Authorization: Bearer <token_value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"identities": [
{
"create": {
"schema_id": "<preset://email>",
"traits": {
"email": "docs@example.org"
},
"verifiable_addresses": [{
"value": "docs@example.org",
"verified": true,
"via": "email",
"status": "completed"
}],
"state": "active",
"credentials": {
"password": {
"config": {
"hashed_password": "$sha1$pf=e1BBU1NXT1JEfXtTQUxUfQ==$NGVibVJVcz0=$ZmVjODJjNjFhYTVhNjE4NjRmMWE2M2QyMDE4MWNkZDkwZTY3NDYxZg=="
}
}
}
}
}
]
}'
Command Response:
{
"identities": [
{
"action": "create",
"identity": "2656d8ab-f54d-445c-823c-8e8279760930"
}
]
}