---
ai:
  exclude: true
search:
  tags:
    - settings
    - PUT
seo:
  description: >-
    Sets the base URL that is configured for this… Reference for the PUT
    /api/2/settings/baseUrl endpoint in the Jira Software Data Center REST API
    Reference.
sidebar:
  label: Update base URL for Jira instance
  badge: PUT
title: Update base URL for Jira instance
type: openapi-operation
---
Sets the base URL that is configured for this Jira instance.

`PUT /api/2/settings/baseUrl`

**Request body** (`application/json`)

Request body example:

```json
"string"
```

**Responses**

- `200` — Returned when the base url is saved successfully.
- `400` — Returned if the specified base URL is not valid.
