# users

Manage croit users.
Set management node URL:

# PUT /users/{id}/password

# Parameters

  • idinteger-
  • bodyobject-
    • passwordstring-

# Endpoint

curl -X PUT http://mgmt-node:8080/api/users/{id}/password 

# Example body

{
  "password": "string"
}

# GET /users

# Parameters

  • No parameters...

# Endpoint

curl -X GET http://mgmt-node:8080/api/users 

# Response 200

  • idinteger-
  • usernamestring-
  • rolesarray-
  • managedByLdapboolean-
  • fullNamestringFull name of LDAP users
  • distinguishedNamestringDistinguished name (DN) of LDAP users

# Example response

[
  {
    "id": 0,
    "username": "string",
    "roles": [
      "string"
    ],
    "managedByLdap": true,
    "fullName": "string",
    "distinguishedName": "string"
  }
]

# POST /users

# Parameters

  • bodyobject-
    • idinteger-
    • usernamestring-
    • rolesarray-
    • managedByLdapboolean-
    • fullNamestringFull name of LDAP users
    • distinguishedNamestringDistinguished name (DN) of LDAP users

# Endpoint

curl -X POST http://mgmt-node:8080/api/users 

# Example body

{
  "id": 0,
  "username": "string",
  "roles": [
    "string"
  ],
  "managedByLdap": true,
  "fullName": "string",
  "distinguishedName": "string"
}

# DELETE /users/{id}

# Parameters

  • idinteger-

# Endpoint

curl -X DELETE http://mgmt-node:8080/api/users/{id} 

# PATCH /users/{id}

# Parameters

  • idinteger-
  • bodyobject-
    • rolesarray-

# Endpoint

curl -X PATCH http://mgmt-node:8080/api/users/{id} 

# Example body

{
  "roles": [
    "string"
  ]
}