Skip to main content
PUT
/
organizations
/
{id}
Update an organization
curl --request PUT \
  --url http://localhost:{port}/organizations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Delay Technologies",
  "short_name": "Delay",
  "logo_url": "https://d3lay.com/logo.png",
  "website_url": "https://d3lay.com"
}
'
{
  "id": "d4add56e-c345-4ac9-b392-7a890a60559a",
  "name": "Delay Technologies",
  "short_name": "Delay",
  "logo_url": "https://d3lay.com/logo.png",
  "website_url": "https://d3lay.com",
  "workspace_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "created_at": "2023-05-06T00:00:00Z",
  "updated_at": "2023-05-06T00:00:00Z",
  "created_by": "98d91cd7-860d-4869-937a-5af32eff2f4a",
  "updated_by": "98d91cd7-860d-4869-937a-5af32eff2f4a"
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-Version
enum<string>
default:v1

Your API version

Available options:
v1
Content-Type
enum<string>
Available options:
application/json,
application/xml,
application/x-www-form-urlencoded,
application/octet-stream,
application/pdf,
text/plain,
text/html,
multipart/form-data

Path Parameters

id
string
required

Body

application/json
name
string
required
Example:

"Delay Technologies"

short_name
string
required
Example:

"Delay"

logo_url
string
required
Example:

"https://d3lay.com/logo.png"

website_url
string
required
Example:

"https://d3lay.com"

Response

Success

id
string
required
name
string
required
short_name
string
required
logo_url
string
required
website_url
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
workspace_id
string<uuid>
Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

created_by
string<uuid>

REQUIRE metadata permissions

Example:

"98d91cd7-860d-4869-937a-5af32eff2f4a"

updated_by
string<uuid>

REQUIRE metadata permissions

Example:

"98d91cd7-860d-4869-937a-5af32eff2f4a"