Skip to main content
PUT
/
organizations
/
{organizationId}
cURL
curl --request PUT \
  --url https://www.greenflash.ai/api/v1/organizations/{organizationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Updated Organization Name",
  "properties": {
    "industry": "fintech",
    "size": "enterprise"
  }
}
'
{
  "success": true,
  "organization": {
    "id": "org-001",
    "externalId": "org-456",
    "name": "Updated Organization Name",
    "properties": {
      "industry": "fintech",
      "size": "enterprise"
    },
    "createdAt": "2025-07-01T12:00:00Z",
    "updatedAt": "2025-09-27T14:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

Your external organization ID (the externalOrganizationId used when creating the organization)

Body

application/json

Request payload for updating an organization.

name
string

The organization's name.

properties
object

Custom organization properties.

Response

Organization updated successfully

Success response for organization update.

success
boolean
required

Whether the API call was successful.

organization
object
required

The organization that was created or updated.