Update a login data with a specific action
PUT/auth/api/internal/update-action/:id/:action
Update a login data with a specific action
Request
Path Parameters
id stringrequired
The id of the login data to update
action stringrequired
The action to perform on the login data
Responses
- 200
- 400
- 404
If update action succeeded, the default response
- application/json
- Schema
- Example (from schema)
Schema
operation stringrequired
A string representation of the operation performed
result stringrequired
Possible values: [success, failed]
Default value: success
The result of the operation. Defaults to "success"
time date-timerequired
Default value: 2025-08-28T15:59:33.175Z
The time the operation was performed. Defaults to the current date+time
{
"operation": "self-register",
"result": "success",
"time": "2025-08-28T16:01:27.636Z"
}
If any of the input values are invalid
If no login data with the given id are found
Loading...