---
updatedAt: 2026-06-26T12:06:12.000Z
agentTools:
  projectIndex: https://developers.miro.com/llms.txt
---

# Delete user

Deletes a single user from the organization.<br><br> Note: A user who is the last admin in the team or the last admin in the organization cannot be deleted. User must be a member in the organization to be deleted. Users that have guest role in the organization cannot be deleted. <br><br> After a user is deleted, the ownership of all the boards that belong to the deleted user is transferred to the oldest team member who currently has an admin role.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Miro SCIM API",
    "description": "SCIM V1 API. <br><br> This is the most recent version of the API where a SCIM <b>Group</b> corresponds to a Miro <b>user group</b>. Adding or removing members of a SCIM Group changes the membership of the Miro user group. <br><br> Note: If your organization has not yet been migrated to user group-based SCIM synchronization, a SCIM Group corresponds to a Miro team. In that case, refer to the legacy Miro SCIM API documentation.",
    "version": "1.0"
  },
  "x-settings": {
    "publish": true,
    "skip-tests": true
  },
  "tags": [
    {
      "name": "User",
      "description": "SCIM User resources (CRUD, list, patch)."
    }
  ],
  "servers": [
    {
      "url": "https://miro.com/api/v1/scim"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/Users/{id}": {
      "delete": {
        "tags": [
          "User"
        ],
        "operationId": "deleteUser",
        "summary": "Delete user",
        "description": "Deletes a single user from the organization.<br><br> Note: A user who is the last admin in the team or the last admin in the organization cannot be deleted. User must be a member in the organization to be deleted. Users that have guest role in the organization cannot be deleted. <br><br> After a user is deleted, the ownership of all the boards that belong to the deleted user is transferred to the oldest team member who currently has an admin role.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "User ID. A server-assigned, unique identifier for this user.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Operation - No content"
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/deleteUser404"
          },
          "409": {
            "$ref": "#/components/responses/deleteUser409"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "description": "An array of URNs that identify the schema(s) that define the structure of this response. <br><br> In this case, it contains urn:ietf:params:scim:api:messages:2.0:Error, which indicates that this is a SCIM Error.",
            "items": {
              "type": "string",
              "example": "urn:ietf:params:scim:api:messages:2.0:Error"
            }
          },
          "status": {
            "type": "string",
            "description": "HTTP status code as string.",
            "example": 400
          },
          "scimType": {
            "type": "string",
            "description": "Property name or keyword associated with the error.",
            "example": "invalidFilter"
          },
          "detail": {
            "type": "string",
            "description": "A detailed human-readable message of the error.",
            "example": "Unexpected end of filter string"
          }
        },
        "description": "Information about the response error"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "responses": {
      "400": {
        "description": "Malformed request",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "401": {
        "description": "Invalid authentication credentials",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "403": {
        "description": "Invalid access",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "429": {
        "description": "Too many requests.",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "deleteUser404": {
        "description": "Not Found <br><br> Conditions: <br> - If the user is not part of the organization, the user cannot be deleted from the organization. <br> - If the user is a guest in the organization, the user cannot be deleted from the organization.",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "deleteUser409": {
        "description": "Conflict <br><br> Conditions: <br> - If the user is the last admin in the team or the last admin in the organization, the user cannot be deleted from the organization.",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [List users](https://developers.miro.com/miro-ea/reference/listusers.md)
* [Create user](https://developers.miro.com/miro-ea/reference/createuser.md)
* [Get user](https://developers.miro.com/miro-ea/reference/getuser.md)
* [Replace user](https://developers.miro.com/miro-ea/reference/replaceuser.md)
* [Patch user](https://developers.miro.com/miro-ea/reference/patchuser.md)