# Create

## Create

> Insert a user in LDAP.

```json
{"openapi":"3.0.1","info":{"title":"LDAP API","version":"1.0.0"},"paths":{"/ldap/user":{"post":{"description":"Insert a user in LDAP.","tags":["Create"],"operationId":"Create","summary":"Create","parameters":[{"name":"sessionId","description":"Session Identifier","in":"header","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserRequest"}}}},"responses":{"201":{"description":"Created","content":{"*/*":{"schema":{"type":"object"}}}}}}}},"components":{"schemas":{"CreateUserRequest":{"type":"object","properties":{"data":{"type":"object","properties":{"user":{"type":"string","description":"Username"},"pass":{"type":"string","description":"Password"},"groups":{"type":"array","description":"Array of groups","items":{"type":"string","description":"Name of the group the user will be inserted"}}}}}}}}}
```
