Users
Create a new user
Changed onCreate a new user
post/api/v1/users
Request
- Base URLhttps://core.quidkey.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"default_partner_id": "123e4567-e89b-12d3-a456-426614174001",
"default_merchant_id": "123e4567-e89b-12d3-a456-426614174001",
"roles": [
"partner:admin:123e4567-e89b-12d3-a456-426614174001"
]
}Response
Created
Example response
{
"success": true,
"data": {
"id": "123e4567-e89b-12d3-a456-426614174001",
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"default_partner_id": "123e4567-e89b-12d3-a456-426614174001",
"default_merchant_id": "123e4567-e89b-12d3-a456-426614174001",
"created_at": "2024-03-19T12:00:00Z",
"updated_at": "2024-03-19T12:00:00Z",
"role_assignments": [
{
"id": "123e4567-e89b-12d3-a456-426614174001",
"role": "global:admin",
"created_at": "2024-03-19T12:00:00Z"
}
]
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking