Skip to main content
POST
/
auth
/
organization
/
update
Update Organization
curl --request POST \
  --url https://cloud.kaneo.app/api/auth/organization/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "data": {
    "description": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "logo": "<string>",
    "metadata": "<string>"
  },
  "organizationId": "<string>"
}
'
{
  "name": "<string>",
  "slug": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "logo": "<string>",
  "metadata": "<string>",
  "description": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
data
object
required
organizationId
string | null

The organization ID. Eg: "org-id"

Response

Success

The updated organization

name
string
required
slug
string
required
createdAt
string<date-time>
required
id
string | null
logo
string | null
metadata
string | null
description
string | null