Skip to content

Update attributes of the users organization

PATCH
/v1/organizations/{id}
curl --request PATCH \
--url https://api.adversarial.com/api/v1/organizations/123e4567-e89b-12d3-a456-426614174000 \
--header 'Content-Type: application/json' \
--data '{ "description": "example", "display_name": "example", "icon": "example", "name": "example" }'
id
required
string format: uuid

The UUID of the organization to update

Example
123e4567-e89b-12d3-a456-426614174000
Media typeapplication/json
object
description
string | null
display_name
string | null
icon
string | null
name
string | null
Examplegenerated
{
"description": "example",
"display_name": "example",
"icon": "example",
"name": "example"
}

Organization updated

Media typeapplication/json
object
description
required
string
display_name
required
string
icon
string | null
id
required
string format: uuid
name
required
string
slug
required

URL-safe human-readable identifier.

string
verified
required
boolean
Examplegenerated
{
"description": "example",
"display_name": "example",
"icon": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example",
"slug": "example",
"verified": true
}

Organization not found