Skip to main content
POST
/
organizations
/
update
Update organization by id
curl --request POST \
  --url https://api.obselite.com/v0/organizations/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "industry": "ACCOUNTING",
  "markets": "DOMESTIC",
  "tools": [
    "ACTIVECOLLAB"
  ],
  "programmingLanguages": [
    "PYTHON"
  ],
  "avatarStyle": "ADVENTURER_NEUTRAL",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "size": 4,
  "revenue": 6,
  "services": "<string>",
  "expectations": "<string>",
  "daysOff": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "avatarFileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "defaultRoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "maxTasks": 123,
  "isCurrent": true,
  "isEnabled": true,
  "isSubscribed": true,
  "isSuspended": true,
  "lockedAt": "<string>",
  "include": "<string>",
  "roles": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "users": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "cyclePolicies": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "cycles": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "files": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "labels": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "language": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "links": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "policies": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "resources": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "statuses": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "statusGroups": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "tasks": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "teams": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "metadata": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "userId": "<string>",
  "maxTasks": 123,
  "domain": "<string>",
  "defaultRoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "avatarStyle": "ADVENTURER_NEUTRAL",
  "expectations": "<string>",
  "industry": "ACCOUNTING",
  "markets": "DOMESTIC",
  "revenue": 6,
  "services": "<string>",
  "size": 4,
  "tools": [
    "ACTIVECOLLAB"
  ],
  "lockedAt": "<string>",
  "user": {},
  "avatar": {},
  "domains": [
    {}
  ],
  "roles": [
    {}
  ],
  "users": [
    {}
  ],
  "comments": [
    {}
  ],
  "cyclePolicies": [
    {}
  ],
  "cycles": [
    {}
  ],
  "defaultRole": {},
  "files": [
    {}
  ],
  "labels": [
    {}
  ],
  "language": [
    {}
  ],
  "links": [
    {}
  ],
  "machine": {},
  "machineOutputs": [
    {}
  ],
  "policies": [
    {}
  ],
  "resources": [
    {}
  ],
  "statuses": [
    {}
  ],
  "statusGroups": [
    {}
  ],
  "tasks": [
    {}
  ],
  "teams": [
    {}
  ],
  "configuration": {},
  "metadata": [
    {}
  ],
  "activities": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

The API token generated from the Obselite dashboard

Body

application/json
industry
enum<string> | null
Available options:
ACCOUNTING,
ADVERTISING,
AEROSPACE,
AGRICULTURE,
ARCHITECTURE,
ARTS,
AUTOMOTIVE,
BANKING,
BIOTECHNOLOGY,
BLOCKCHAIN,
CHEMICAL,
CONSTRUCTION,
CONSULTING,
CREATIVE_SERVICES,
DEFENSE,
DESIGN,
E_COMMERCE,
EDUCATION,
ELECTRONICS,
ENERGY,
ENGINEERING,
ENTERTAINMENT,
ENVIRONMENTAL,
ESPORTS,
FASHION,
FINANCE,
FOOD_AND_BEVERAGE,
GAMING,
GOVERNMENT,
HEALTHCARE,
HOSPITALITY,
HUMAN_RESOURCES,
INFORMATION_TECHNOLOGY,
INSURANCE,
LEGAL,
LOGISTICS,
MANUFACTURING,
MARKETING,
MEDIA,
MINING,
NONPROFIT,
PHARMACEUTICALS,
REAL_ESTATE,
RETAIL,
SCIENCE,
SECURITY,
SOFTWARE,
SPORTS,
TELECOMMUNICATIONS,
TEXTILES,
TRANSPORTATION,
TRAVEL,
UTILITIES,
WHOLESALE,
OTHER
markets
enum<string> | null
Available options:
DOMESTIC,
INTERNATIONAL,
GLOBAL
tools
enum<string>[]
programmingLanguages
enum<string>[]
avatarStyle
enum<string>
Available options:
ADVENTURER_NEUTRAL,
ADVENTURER,
AVATAAARS_NEUTRAL,
AVATAAARS,
BIG_EARS_NEUTRAL,
BIG_EARS,
BIG_SMILE,
BOTTTS_NEUTRAL,
BOTTTS,
CROODLES_NEUTRAL,
CROODLES,
FUN_EMOJI,
ICONS,
IDENTICON,
LORELEI_NEUTRAL,
LORELEI,
MICAH,
MINIAVS,
NOTIONISTS_NEUTRAL,
NOTIONISTS,
OPEN_PEEPS,
PERSONAS,
PIXEL_ART_NEUTRAL,
PIXEL_ART,
RINGS,
SHAPES,
THUMBS
id
string<uuid>

Organization UUID

name
string
Required string length: 3 - 255
size
integer | null
Required range: 0 <= x <= 9
revenue
integer | null
Required range: 0 <= x <= 12
services
string | null
expectations
string | null
daysOff
string<uuid>[]
avatarFileId
string<uuid> | null

Avatar File UUID

defaultRoleId
string<uuid> | null

Default Role UUID

maxTasks
integer
isCurrent
boolean
isEnabled
boolean
isSubscribed
boolean
isSuspended
boolean
lockedAt
string | null
include
string

Available options: avatar, domains, roles, users, comments, cyclePolicies, cycles, defaultRole, files, labels, language, links, machine, machineOutputs, policies, resources, statuses, statusGroups, tasks, teams, configuration, metadata, activities

roles
string<uuid>[]
users
string<uuid>[]
cyclePolicies
string<uuid>[]
cycles
string<uuid>[]
files
string<uuid>[]
labels
string<uuid>[]
language
string<uuid>[]
policies
string<uuid>[]
resources
string<uuid>[]
statuses
string<uuid>[]
statusGroups
string<uuid>[]
tasks
string<uuid>[]
teams
string<uuid>[]
metadata
string<uuid>[]

Response

Successful response

id
string<uuid>
required

Organization UUID

name
string
required
Required string length: 3 - 255
maxTasks
integer
required
domain
string
required
Required string length: 3 - 67
avatarStyle
enum<string>
required
Available options:
ADVENTURER_NEUTRAL,
ADVENTURER,
AVATAAARS_NEUTRAL,
AVATAAARS,
BIG_EARS_NEUTRAL,
BIG_EARS,
BIG_SMILE,
BOTTTS_NEUTRAL,
BOTTTS,
CROODLES_NEUTRAL,
CROODLES,
FUN_EMOJI,
ICONS,
IDENTICON,
LORELEI_NEUTRAL,
LORELEI,
MICAH,
MINIAVS,
NOTIONISTS_NEUTRAL,
NOTIONISTS,
OPEN_PEEPS,
PERSONAS,
PIXEL_ART_NEUTRAL,
PIXEL_ART,
RINGS,
SHAPES,
THUMBS
tools
enum<string>[]
required
userId
string | null
defaultRoleId
string<uuid> | null

Default Role UUID

expectations
string | null
industry
enum<string> | null
Available options:
ACCOUNTING,
ADVERTISING,
AEROSPACE,
AGRICULTURE,
ARCHITECTURE,
ARTS,
AUTOMOTIVE,
BANKING,
BIOTECHNOLOGY,
BLOCKCHAIN,
CHEMICAL,
CONSTRUCTION,
CONSULTING,
CREATIVE_SERVICES,
DEFENSE,
DESIGN,
E_COMMERCE,
EDUCATION,
ELECTRONICS,
ENERGY,
ENGINEERING,
ENTERTAINMENT,
ENVIRONMENTAL,
ESPORTS,
FASHION,
FINANCE,
FOOD_AND_BEVERAGE,
GAMING,
GOVERNMENT,
HEALTHCARE,
HOSPITALITY,
HUMAN_RESOURCES,
INFORMATION_TECHNOLOGY,
INSURANCE,
LEGAL,
LOGISTICS,
MANUFACTURING,
MARKETING,
MEDIA,
MINING,
NONPROFIT,
PHARMACEUTICALS,
REAL_ESTATE,
RETAIL,
SCIENCE,
SECURITY,
SOFTWARE,
SPORTS,
TELECOMMUNICATIONS,
TEXTILES,
TRANSPORTATION,
TRAVEL,
UTILITIES,
WHOLESALE,
OTHER
markets
enum<string> | null
Available options:
DOMESTIC,
INTERNATIONAL,
GLOBAL
revenue
integer | null
Required range: 0 <= x <= 12
services
string | null
size
integer | null
Required range: 0 <= x <= 9
lockedAt
string | null
user
object | null

Primary user or owner associated with this organization, following the user schema

avatar
object | null

Organization's profile image and branding assets, following the file schema

domains
array
roles
array
users
array
comments
array
cyclePolicies
array
cycles
array
defaultRole
object | null

Default role assigned to new members in this organization, following the role schema

files
array
labels
array
language
array
machine
object | null

Automated systems and integrations configured for this organization, following the machine schema

machineOutputs
array
policies
array
resources
array
statuses
array
statusGroups
array
tasks
array
teams
array
configuration
object | null

Organization-wide settings and configuration, following the configuration schema

metadata
array
activities
array