Reset An Onboarding Step
This endpoint reset a specific onboarding step. It's available only in stage.
info
This operation requires authentication. The logged user must be the creator of the community (id=1).
warning
The onboarding APIs are not available for Enterprise plans; in particular this API is available only in the Stage and Dev environments to simplify development and integration with the PWA.
HTTP Request
POST /api/v2/onboarding/{id}/reset/
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | integer | true | A unique integer value identifying this onboarding step |
Example Request
- JavaScript
- Bash
const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization': 'Bearer {access_token}'
};
fetch('/api/v2/onboarding/{id}/reset/',
{
method: 'POST',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
# You can also use wget
curl -X POST /api/v2/onboarding/{id}/reset/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access_token}'
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK | Response status code | Onboarding Step |