Organizations (Admin)

Update organization (Admin)

PUT/manage/organizations/:id

Update an organization. Only its admins can do this.

AuthLogin required

Path parameters

idstringrequired

Organization ID.

Request body

namestringoptional

Organization name (required); no length limit.

typestringoptional

One of COMPANY / STARTUP / SCHOOL / GOVERNMENT / NON_PROFIT / RESEARCH / VENTURE_CAPITAL / MEDIA / ACCELERATOR / EDUCATIONAL / CONSULTING / COMMUNITY.

descriptionstringoptional

Description; no length limit.

logoUrlstringoptional

Logo image URL; must be a valid URL.

websiteUrlstringoptional

Website URL; must be a valid URL.

slugstringoptional

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

logoDarkUrlstringoptional

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

Response

Returns Organization.

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"
}