DevZero Logo
DevZero

Update info about a user

PUT
/users/metadata
/users/metadata

Request Body

application/jsonRequired

update user body

default_regionstring

dxi_onboarding_checklistobject

github_usernamestring

version control username

given_namestring

name of user

linked_vcssarray<object>

version control providers linked by user

onboarding_checklistobject

timezonestring

User timezone

user_scoped_recipestring

User scoped recipe

Header Parameters

Authorization
Required
string

Value: "Bearer <token>"; visit the "User Settings" page in the DevZero dashboard to generate a token

curl -X PUT "https://api.devzero.io/backend/v0/users/metadata" \
  -H "Authorization: string" \
  -H "Content-Type: application/json" \
  -d '{
    "default_region": "string",
    "dxi_onboarding_checklist": {
      "analyze_own_code": "SKIPPED",
      "development_process_bottlenecks": "SKIPPED",
      "devzero_cli": "SKIPPED",
      "github_token": "SKIPPED",
      "is_dora_repository_connected": true
    },
    "github_username": "string",
    "given_name": "string",
    "linked_vcss": [
      {
        "link_metadata": "string",
        "vsc_uri": "string"
      }
    ],
    "onboarding_checklist": {
      "has_completed_onboarding": true,
      "has_completed_onboarding_checklist": true,
      "has_completed_recipe_quick_starters": true,
      "has_created_recipe": true,
      "has_dismissed_quickstart": true,
      "has_dismissed_recipe_callout": true,
      "has_forked_quickstart": true,
      "has_launched_workspace": true,
      "has_seen_onboarding_recipe_modal": true,
      "onboarding_path": "undefined"
    },
    "timezone": "string",
    "user_scoped_recipe": "string"
  }'

created user

{
  "default_region": "string",
  "default_region_name": "string",
  "dora_connection_ids": [
    "string"
  ],
  "dxi_onboarding_checklist": {
    "analyze_own_code": "SKIPPED",
    "development_process_bottlenecks": "SKIPPED",
    "devzero_cli": "SKIPPED",
    "github_token": "SKIPPED",
    "is_dora_repository_connected": true
  },
  "email": "user@example.com",
  "given_name": "string",
  "id": "string",
  "linked_vcss": [
    {
      "link_metadata": "string",
      "vsc_uri": "string"
    }
  ],
  "onboarding_checklist": {
    "has_completed_onboarding": true,
    "has_completed_onboarding_checklist": true,
    "has_completed_recipe_quick_starters": true,
    "has_created_recipe": true,
    "has_dismissed_quickstart": true,
    "has_dismissed_recipe_callout": true,
    "has_forked_quickstart": true,
    "has_launched_workspace": true,
    "has_seen_onboarding_recipe_modal": true,
    "onboarding_path": "undefined"
  },
  "sub": "string",
  "teams": [
    {
      "is_owner": true,
      "name": "string",
      "permissions": "string",
      "team_id": "string",
      "user_id": "string"
    }
  ],
  "timezone": "string",
  "user_scoped_recipe": "string"
}