User
Create a new Kinde user
API Overview
Authentication
Journal Entry
Ledger
Reports
Transaction
User
Create a new Kinde user
POST
/
v0
/
user
curl --request POST \
--url https://api.sandbox.getasset.com/v0/user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"primary_tenant_id": "ten_oZnzBzmUzVSGbPqRFEe6J",
"secondary_tenant_id": "ten_oZnzBzmUzVSGbPqRFEe6J",
"business_id": "bus_oZnzBzmUzVSGbPqRFEe6J",
"roles": "role_admin"
}'
{
"data": "<any>"
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Response
201
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.sandbox.getasset.com/v0/user \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"primary_tenant_id": "ten_oZnzBzmUzVSGbPqRFEe6J",
"secondary_tenant_id": "ten_oZnzBzmUzVSGbPqRFEe6J",
"business_id": "bus_oZnzBzmUzVSGbPqRFEe6J",
"roles": "role_admin"
}'
{
"data": "<any>"
}