---
title: "Update your workspace"
method: PUT
path: "/workspace"
tags: ["Workspace"]
---

# Update your workspace

`PUT /workspace`

## Request

- Base URL: `https://api.universally.com`
- URL: `https://api.universally.com/workspace`
- Auth: API key in header `X-API-Key`

Updates the workspace this API key belongs to, like its name. You can't change security settings such as the 2FA requirement with an API key.

## Request body

- object
  - `name` string
  - `requireTwoFactor` boolean

## Response `200`

Success

- object
  - `success` boolean
  - `data` unknown
  - `message` string, nullable
  - `code` string

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/universally/apis/universally-platform-api.md) · [All operations](https://skmtc.dev/universally/apis/universally-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/universally/apis/universally-platform-api/revisions/d61beda7bab7?raw)
