Upsert auth strategy
id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
strategy required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
id required | string [ 1 .. 255 ] characters |
password | string [ 10 .. 64 ] characters |
active | boolean |
Update user data
id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
default response
login required | string |
password | string [ 8 .. 64 ] characters |
firstName | string[\p{L}\p{N}_. -]+ |
lastName | string[\p{L}\p{N}_. -]+ |
active | boolean |
phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
pushType | string Enum: "ANDROID" "IOS" "WEB" |
pushId | string [ 3 .. 256 ] characters |
Array of objects (UserRole) [ 0 .. 64 ] items | |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
consents | Array of strings [ 0 .. 16 ] items |
object |
user
{- "login": "testomir5@3e.pl",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "2de9a0c3-4b21-407c-83d1-031ea0735eb3",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}
Create new user
default response
login required | string |
password | string [ 8 .. 64 ] characters |
firstName | string[\p{L}\p{N}_. -]+ |
lastName | string[\p{L}\p{N}_. -]+ |
active | boolean |
phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
pushType | string Enum: "ANDROID" "IOS" "WEB" |
pushId | string [ 3 .. 256 ] characters |
Array of objects (UserRole) [ 0 .. 64 ] items | |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
consents | Array of strings [ 0 .. 16 ] items |
object |
user