# users

Manage croit users.
Set management node URL:

# PUT /users/{id}/password

# Parameters

  • idintegerpath-
  • bodyobjectoptional-
    • passwordstringoptional-

# 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

  • idintegeroptional-
  • usernamestringoptional-
  • rolesarrayoptional-
  • managedByLdapbooleanoptional-
  • fullNamestringoptionalFull name of LDAP users
  • distinguishedNamestringoptionalDistinguished name (DN) of LDAP users

# Example response

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

# POST /users

# Parameters

  • bodyobjectoptional-
    • idintegeroptional-
    • usernamestringoptional-
    • rolesarrayoptional-
    • managedByLdapbooleanoptional-
    • fullNamestringoptionalFull name of LDAP users
    • distinguishedNamestringoptionalDistinguished 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

  • idintegerpath-

# Endpoint

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

# PATCH /users/{id}

# Parameters

  • idintegerpath-
  • bodyobjectoptional-
    • rolesarrayoptional-

# Endpoint

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

# Example body

{
  "roles": [
    "string"
  ]
}