Create a new user identity
POST
ServiceKeyAuthheader
X-Service-Key<token>Admin service-to-service key. Trusted for all routes and skips permission checks.
application/json- body
email*stringFormat
emailname*password*stringLength
8 <= length <= 72OK
application/json- response
AdditionalProperties?created_at?stringFormat
date-timecredentials?id*stringmetadata_admin?unknownmetadata_public?unknownorganization_id?recovery_addresses?array<>|nullschema_id*stringschema_url*stringstate?stringstate_changed_at?stringFormat
date-timetraits*unknownupdated_at?stringFormat
date-timeverifiable_addresses?array<>|nullcurl -X POST 'https://api.omnibase.tech/api/v1/auth/users' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "name": { "first": "John", "last": "Doe" }, "password": "securepassword123"}'Example Response
{ "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "credentials": { "property1": { "AdditionalProperties": { "property1": null, "property2": null }, "config": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "identifiers": [ "string" ], "type": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0 }, "property2": { "AdditionalProperties": { "property1": null, "property2": null }, "config": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "identifiers": [ "string" ], "type": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0 } }, "id": "string", "metadata_admin": null, "metadata_public": null, "organization_id": {}, "recovery_addresses": [ { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "updated_at": "2019-08-24T14:15:22Z", "value": "string", "via": "string" } ], "schema_id": "string", "schema_url": "string", "state": "string", "state_changed_at": "2019-08-24T14:15:22Z", "traits": null, "updated_at": "2019-08-24T14:15:22Z", "verifiable_addresses": [ { "AdditionalProperties": { "property1": null, "property2": null }, "created_at": "2019-08-24T14:15:22Z", "id": "string", "status": "string", "updated_at": "2019-08-24T14:15:22Z", "value": "string", "verified": true, "verified_at": "2019-08-24T14:15:22Z", "via": "string" } ]}