Skip to content

Rename an organization

PATCH
/organizations/{org_id}
curl --request PATCH \
--url https://api.perstat.io/organizations/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'

Renames the organization. Note that the URL slug is re-derived from the new name as a side effect and deduplicated across the owner’s organizations. Requires organization management rights.

org_id
required
string
Media typeapplication/json
object
name
required
string
Examplegenerated
{
"name": "example"
}
Media typeapplication/json
object
id
required
string
name
required
string
slug
required
string
Examplegenerated
{
"id": "example",
"name": "example",
"slug": "example"
}