AuthKeys
Edit auth key
Changed onpost/auth_keys/edit/{authKeyId}
Request
- Base URLhttps://misp.local
- URLhttps://misp.local/auth_keys/edit/{authKeyId}
- AuthAPI key in header Authorization
Path parameters
Example:12345
UUID or numeric ID of the auth key
Request body
Example request
{
"allowed_ips": [
"127.0.0.1"
]
}Response
Auth key response
Example response
{
"AuthKey": {
"id": "12345",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"created": "1617875568",
"expiration": "1970-01-01 00:00:00",
"user_id": "12345",
"allowed_ips": [
"127.0.0.1"
],
"last_used": "1617875568"
},
"User": {
"id": "12345",
"org_id": "12345"
}
}Changes
- breaking
the
/response property's maxLength was unset from36for the response status - breaking
the
/response property's maxLength was unset from10for the response status - breaking
the
/response's property format changed fromdatetimetodate-timefor status - breaking
the
/response's property type changed fromstringtoobjectfor status - info
added to the
/response propertyallOflist for the response status - info
the
/response's property pattern^\d+$was removed for the status
- breaking