---
updatedAt: 2026-06-26T11:12:13.000Z
agentTools:
  projectIndex: https://developers.miro.com/llms.txt
---

# Reset all sessions of a user

Reset all sessions of a user.  Admins can now take immediate action to restrict user access to company data in case of security concerns. Calling this API ends all active Miro sessions across devices for a particular user, requiring the user to sign in again. This is useful in situations where a user leaves the company, their credentials are compromised, or there's suspicious activity on their account.<br/><h3>Required scope</h3> <a target="blank" href="/reference/scopes">sessions:delete</a> <br/><h3>Rate limiting</h3> <a target="blank" href="/reference/rate-limiting#rate-limit-tiers">Level 3</a> <br/><h3>Enterprise only</h3> <p>This API is available only for <a target="blank" href="/reference/api-reference#enterprise-plan">Enterprise plan</a> users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using <a target="_blank" href="https://q2oeb0jrhgi.typeform.com/to/BVPTNWJ9">this form</a>.</p>

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Enterprise User Session Reset (Enterprise Plan)",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://api.miro.com"
    }
  ],
  "x-settings": {
    "skip-tests": false,
    "publish": true
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "description": "Reset all sessions of a user",
      "name": "Reset all sessions of a user"
    }
  ],
  "paths": {
    "/v2/sessions/reset_all": {
      "post": {
        "x-settings": {
          "skip-tests": true
        },
        "description": "Reset all sessions of a user.  Admins can now take immediate action to restrict user access to company data in case of security concerns. Calling this API ends all active Miro sessions across devices for a particular user, requiring the user to sign in again. This is useful in situations where a user leaves the company, their credentials are compromised, or there's suspicious activity on their account.<br/><h3>Required scope</h3> <a target=\"blank\" href=\"/reference/scopes\">sessions:delete</a> <br/><h3>Rate limiting</h3> <a target=\"blank\" href=\"/reference/rate-limiting#rate-limit-tiers\">Level 3</a> <br/><h3>Enterprise only</h3> <p>This API is available only for <a target=\"blank\" href=\"/reference/api-reference#enterprise-plan\">Enterprise plan</a> users. You can only use this endpoint if you have the role of a Company Admin. You can request temporary access to Enterprise APIs using <a target=\"_blank\" href=\"https://q2oeb0jrhgi.typeform.com/to/BVPTNWJ9\">this form</a>.</p>",
        "operationId": "enterprise-post-user-sessions-reset",
        "parameters": [
          {
            "in": "query",
            "name": "email",
            "required": true,
            "description": "Email ID of the user whose sessions you want to reset. Note that this user will be signed out from all devices.",
            "example": "john.smith@example.com",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "User Sessions Reset",
            "content": {}
          },
          "400": {
            "$ref": "#/components/responses/400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "429": {
            "$ref": "#/components/responses/429"
          }
        },
        "summary": "Reset all sessions of a user",
        "tags": [
          "Reset all sessions of a user"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "BasicError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "number",
            "description": "HTTP status code."
          },
          "code": {
            "type": "string",
            "description": "Description of the status code."
          },
          "message": {
            "type": "string",
            "description": "Explanation for the error"
          },
          "type": {
            "type": "string",
            "description": "Type of the object returned.",
            "default": "error"
          }
        }
      }
    },
    "responses": {
      "400": {
        "description": "Malformed request",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/BasicError"
                },
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "default": 400
                    },
                    "code": {
                      "default": "invalidParameters"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "401": {
        "description": "Invalid authentication credentials",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/BasicError"
                },
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "default": 401
                    },
                    "code": {
                      "default": "tokenNotProvided"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "403": {
        "description": "Invalid access",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/BasicError"
                },
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "default": 403
                    },
                    "code": {
                      "default": "forbiddenAccess"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "404": {
        "description": "Invalid access",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/BasicError"
                },
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "default": 404
                    },
                    "code": {
                      "default": "notFound"
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "429": {
        "description": "Too many requests",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/BasicError"
                },
                {
                  "type": "object",
                  "properties": {
                    "status": {
                      "default": 429
                    },
                    "code": {
                      "default": "tooManyRequests"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```