Entrepreneurs

Update an entrepreneur

PATCH/entrepreneurs/{id}

Changes the entrepreneur's label, name, website or headquarters and returns it. email and contact are read-only and return 422 prohibited; the contact is changed as the user it is. A name another organisation holds returns 422 unique. A body that changes nothing returns the entrepreneur unchanged and emits nothing. dry_run shows the result without saving it. Emits entrepreneur.updated. Sending the previous values undoes it.

Path parameters

  • idstring (uuid)Required#

    The entrepreneur's id, a uuid. An unknown entrepreneur, or one your organisation did not create, returns 404.

Query parameters

  • dry_runboolean#

    Validate and run the call without committing it, returning what the real call would return with meta.dry_run set.

Request body

application/json, required · EntrepreneurUpdate

  • labelstring#

    The display name.

  • namestring#

    The internal name. A name another organisation holds returns 422 unique.

  • websitestring | null#

    The entrepreneur's website, or null to clear it.

  • headquartersstring | null#

    Where the entrepreneur is based, or null to clear it.

{
  "headquarters": "Edinburgh, UK",
  "website": "https://acme.example.org"
}

Responses

200

The updated entrepreneur.

Entrepreneur
{
  "data": {
    "id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
    "name": "string",
    "label": "string",
    "email": "string",
    "website": "string",
    "headquarters": "string",
    "created_at": "2026-06-12T10:00:00+00:00",
    "updated_at": "2026-06-12T10:00:00+00:00",
    "contact": {
      "id": "9a9d1c5e-4f2b-4c8e-9a7d-2f1e6b3c4d5a",
      "first_name": "string",
      "last_name": "string",
      "email": "string",
      "status": "string"
    }
  }
}
401

Authentication failed. error.code is one of invalid_token, expired, revoked.

Error
403

Authorization failed. error.code is one of org_disabled, ip_blocked, missing_scope, scope_disabled, user_disabled.

Error
404

Resource not found (error.code = not_found).

Error
422

The request can't be processed (HTTP 422): validation_failed with one ErrorDetail per problem, or a code documented on the operation.

Error
429

Rate limit exceeded (error.code = rate_limited).

Error

Examples

curl -X PATCH https://your-org-domain/kong/core/api/v2/entrepreneurs/{id}\
  -H "Authorization: Bearer $HELM_API_KEY"\
  -H "Content-Type: application/json"\
  -d '{
  "headquarters": "Edinburgh, UK",
  "website": "https://acme.example.org"
}'