v1

latestOpenAPI 3.0.02026-07-17166300328.1 KB
Users

Edit user

put/admin/users/edit/{userId}

Path parameters

userIdstring required
Example:12345

Numeric ID of the user

Request body

idstring
org_idstring
server_idstring
emailstring email
autoalertboolean
authkeystring nullable

API auth key used for the API, only set if MISP setting Security.advanced_authkeys is set to false.

invited_bystring
gpgkeystring nullable
certif_publicstring nullable
nids_sidstring
termsacceptedboolean
newsreadstring
role_idstring
change_pw'0' | '1'

Password change required.

contactalertboolean
disabledboolean
expirationstring date-time nullable
current_loginstring
last_loginstring
force_logoutboolean
date_createdstring
date_modifiedstring

Example request

{
  "id": "12345",
  "org_id": "12345",
  "server_id": "12345",
  "authkey": "894c8d095180c7ea28789092e96ca6424199aa4f",
  "invited_by": "12345",
  "nids_sid": "4000000",
  "newsread": "1617875568",
  "role_id": "3",
  "current_login": "1617875568",
  "last_login": "1617875568",
  "date_created": "1617875568",
  "date_modified": "1617875568"
}

Response

User response

idstring
org_idstring
server_idstring
emailstring email
autoalertboolean
authkeystring nullable

API auth key used for the API, only set if MISP setting Security.advanced_authkeys is set to false.

invited_bystring
gpgkeystring nullable
certif_publicstring nullable
nids_sidstring
termsacceptedboolean
newsreadstring
role_idstring
change_pw'0' | '1'

Password change required.

contactalertboolean
disabledboolean
expirationstring date-time nullable
current_loginstring
last_loginstring
force_logoutboolean
date_createdstring
date_modifiedstring

Example response

{
  "id": "12345",
  "org_id": "12345",
  "server_id": "12345",
  "authkey": "894c8d095180c7ea28789092e96ca6424199aa4f",
  "invited_by": "12345",
  "nids_sid": "4000000",
  "newsread": "1617875568",
  "role_id": "3",
  "current_login": "1617875568",
  "last_login": "1617875568",
  "date_created": "1617875568",
  "date_modified": "1617875568"
}