Skip to main content
PUT
/
organizations
/
current
Update current organization
curl --request PUT \
  --url https://app.azalt.co/api/v1/organizations/current \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "openaiApiKey": "<string>",
  "anthropicApiKey": "<string>",
  "defaultFormWorkflow": {
    "type": "DIRECT_APPROVAL"
  },
  "defaultDashboardStatuses": [
    "COMPLETED"
  ],
  "requireFormAssignment": [
    "VIEWER"
  ],
  "siteSelectorTemplate": "<string>",
  "navigationTags": {
    "forms": [
      "<string>"
    ],
    "kpis": [
      "<string>"
    ],
    "dashboards": [
      "<string>"
    ]
  }
}
'
{
  "id": "<string>",
  "name": "<string>",
  "ownerId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
Minimum string length: 1
openaiApiKey
string | null
anthropicApiKey
string | null
defaultFormWorkflow
object
defaultDashboardStatuses
enum<string>[]
Available options:
COMPLETED,
APPROVED,
REJECTED
requireFormAssignment
enum<string>[]
Available options:
VIEWER,
COLLECTOR,
APPROVER,
MANAGER
siteSelectorTemplate
string | null
Maximum string length: 500
navigationTags
object

Response

Successful response

id
string
required
name
string
required
ownerId
string
required