Transition the state of a particular user with its user id and transition event

Path ParameterDescriptionType
userId*Participant ID of the user to get (obtained when user is created)string

Events Table
| Initial State | Event Name | Final State |
|------------------ | -------------- | --------------------|
| On Boarding | {{DYNAMIC}} | Active: Active |
| Active : Active | {{DYNAMIC}} | Active: Deboarding |
| Active : Active | {{DYNAMIC}} | Active: Allocated |
| Active : Allocated | {{DYNAMIC}} | Active: Active |
|Active : Deboarding | {{DYNAMIC}} | Inactive: Inactive |
|Inactive: Inactive | - |- |

Request Body (Data associated with participant generated during event can be stored)
| Parameter | Description | Type | Validation |
|--- |--- |--- | --- |
| toState* | To State of the transition event | string | Valid to state for given state |
| reasonCode | Reason code for transition | string | If provided should be valid reason code associated with event |
| data | Any data generated or associated w.r.t event transition | object | |

Language
Authentication
Cookie
URL
Click Try It! to start a request and see the response here!