Median

PATCH /organization

Updated Oct 1, 20261 minute read

Rename the organization

The name, the slug, or both. The slug is what the workspace's email support address is minted from, so changing it changes where new mail is expected. The picture is a file, so it stays in the dashboard.

Part of Organization.

Request body

application/json, optional.

FieldTypeRequiredDescription
namestringNo
slugstringNoLowercase, no spaces. A slug somebody else holds is refused.

Responses

StatusDescription
200The organization, as it now reads.
400The request is malformed, and the message names the field.
401The bearer token is missing, revoked, or expired.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
namestringNo
slugstringNo

Example request

curl -X PATCH https://api.median.sh/v1/organization \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc