---
title: "Update Orgunit Details"
method: PUT
path: "/orgunit/{orgunitId}"
tags: ["Orgunit"]
---

# Update Orgunit Details

`PUT /orgunit/{orgunitId}`

Modifies the operational profile, administrative contact details,  and physical address metadata for an existing orgunit(brand).  Updates made through this endpoint immediately apply to the brand identity.

## Path parameters

- `orgunitId` string, required

## Request body

- OrgunitParam
  - `name` string, required — The official descriptive name of the new orgunit or brand.
  - `email` string, email, required — The primary administrative email address associated with the brand.
  - `contactNo` string — A primary contact phone number for the orgunit.
  - `imageURL` string, nullable — A direct URL hosting the brand's logo or profile avatar.
  - `details` string, nullable — Additional context or miscellaneous profile notes regarding the brand.
  - `address` Address
    - `address1` string, nullable
    - `state` string, nullable
    - `postalCode` string, nullable
    - `countryCode` string, nullable

## Response `201`

Success

- ExternalApiResponseNew
  - `appCode` string
  - `message` string
  - `isError` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/ministrybytext/apis/pbt-api-documentation.md) · [All operations](https://skmtc.net/ministrybytext/apis/pbt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministrybytext/pbt-api-documentation/versions/ca6e9c8f430d/schema)
