Update organization

PUT/manage/organizations/:id

Update an organization. Only its admins can do this.

AuthLogin required

Path parameters

idstringrequired

Organization ID.

Request body

namestring

Organization name (required); no length limit.

typestring

One of COMPANY / STARTUP / SCHOOL / GOVERNMENT / NON_PROFIT / RESEARCH / VENTURE_CAPITAL / MEDIA / ACCELERATOR / EDUCATIONAL / CONSULTING / COMMUNITY (required on create).

descriptionstring

Description; no length limit.

logoUrlstring

Logo image URL; must be a valid URL.

websiteUrlstring

Website URL; must be a valid URL.

slugstring

3–200 characters; lowercase alphanumerics, hyphens and underscores only (^[a-z0-9-_]+$). Must be unique.

logoDarkUrlstring

Dark-theme logo URL; must be a valid URL.

Request
curl https://api.4s.link/manage/organizations/ID \
-X PUT \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Example Inc.",
"description": "..."
}'
Example response
{
"id": "o1a2b3c4-...",
"slug": "example-inc",
"name": "Example Inc.",
"type": "COMPANY",
"description": "...",
"logoUrl": "https://.../logo.png",
"logoDarkUrl": null,
"websiteUrl": "https://example.com"
}