Valyourise Logo

ValYouRise

DevelopmentApi

Update organization

Updates editable organization profile fields, privacy defaults, and AI enrichment settings for an organization admin.

PATCH
/api/orgs/{orgId}

Updates editable organization profile fields, privacy defaults, and AI enrichment settings for an organization admin.

PAT<token>

Personal Access Token

In: header

Path Parameters

orgId*string

Request Body

application/json

name?string
Length2 <= length <= 128
industry?string|null
website?string|null
customerNames?|null
revenueAmount?number|null
revenueCurrency?string|null
revenuePeriod?string|null
employeeCountMin?integer|null
employeeCountMax?integer|null
addressStreet?string|null
addressPostalCode?string|null
addressCity?string|null
addressCountry?string|null
aiEnrichmentOptIn?boolean
lastEnrichmentSource?string|null
logoFileId?string|null
defaultPrivacyMode?string
Value in"option_1" | "option_2"
[key: string]?never

Response Body

application/json

curl -X PATCH "https://loading/api/orgs/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "$id": "string",
  "name": "string",
  "slug": "string",
  "teamId": "string",
  "createdByUserId": "string",
  "defaultPrivacyMode": "option_1",
  "industry": "string",
  "website": "string",
  "customerNames": [
    "string"
  ],
  "revenueAmount": 0,
  "revenueCurrency": "string",
  "revenuePeriod": "year",
  "employeeCountMin": 0,
  "employeeCountMax": 0,
  "addressStreet": "string",
  "addressPostalCode": "string",
  "addressCity": "string",
  "addressCountry": "string",
  "aiEnrichmentOptIn": true,
  "lastEnrichedAt": "string",
  "lastEnrichmentSource": "manual",
  "logoFileId": "string",
  "archivedAt": "string"
}
Empty
Empty