Organizations

Update organization onboarding flow

PATCH
/organizations/{organizationId}/onboarding/{flowId}

Updates dismiss, reopen, and task progress state for an organization onboarding flow.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
Formatuuid
flowId*"post-billing-setup"

Value in

  • "post-billing-setup"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/onboarding/post-billing-setup" \  -H "Content-Type: application/json" \  -d '{    "action": "task_reset",    "taskId": "organization-branding"  }'
{  "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",  "flowId": "post-billing-setup",  "flowVersion": 1,  "status": "not_started",  "progress": {    "completed": 0,    "total": 0,    "percent": 0  },  "tasks": [    {      "id": "organization-branding",      "category": "organization",      "title": "string",      "description": "string",      "estimatedMinutes": 1,      "optional": true,      "locked": true,      "upgrade": {        "label": "string",        "route": "string"      },      "status": "not_started",      "source": "inferred",      "route": "string",      "componentKey": "string",      "eligible": true,      "requiredPermission": "string"    }  ],  "createdAt": null,  "updatedAt": null}