Skip to main content
PATCH
/
v2
/
organizations
/
{organizationId}
/
directories
/
{directoryId}
Update a directory
curl --request PATCH \
  --url https://api.orbitsearch.com/v2/organizations/{organizationId}/directories/{directoryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
Updates mutable fields on a directory, such as its display name.

Path parameters

organizationId
string
required
The UUID of the owning organization.
directoryId
string
required
The UUID of the directory to update.

Request body

name
string
New display name for the directory.