UserActivateResponse
The response to a user Activate / Deactivate request.
Check the results
object for the outcome details
HTTP status code of the response for reference purposes.
200
200
Indicates whether the request was successful (normally true
if it's
not an error response).
true
URL of the current request / resource, for reference purposes.
https://example.apps.journyx.com/api/v1/users
An array of status (confirmation) messages that occurred during the request. This field may be empty.
In the UI, these are sometimes displayed with a green icon.
An array of error messages that occurred during the request. This field may be empty.
In the UI, these are sometimes displayed with a red error icon.
An array of warning messages that occurred during the request. This field may be empty.
In the UI, these are sometimes displayed with a yellow warning icon.
An array of informational messages that occurred during the request. This field may be empty.
In the UI, these are sometimes displayed with a blue info icon.
results object
The details about a request to activate or deactivate a set of users.
A list of the User IDs that were activated or deactivated.
A list of the User IDs that were not activated or deactivated, typically because they were already in the desired state.
Indicates whether the users were activated. (Based on the `activate parameter in the request.)
true
Indicates whether the users were deactivated. (Based on the activate
parameter in the request.)
false
{
"response_code": 200,
"success": true,
"uri": "https://example.apps.journyx.com/api/v1/users",
"status": [
"string"
],
"errors": [
"string"
],
"warnings": [
"string"
],
"info": [
"string"
],
"results": {
"changed_users": [
"5CD906A3941C463B9CC98F49DBCC25AA"
],
"unchanged_users": [
"5CD906A3941C463B9CC98F49DBCC25AA"
],
"activated": true,
"deactivated": false
}
}