Reset all sessions of a user
POST/v2/sessions/reset_all
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.
Required scope
sessions:deleteRate limiting
Level 3Enterprise only
This API is available only for Enterprise plan 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 this form.
Request
Query Parameters
Email ID of the user whose sessions you want to reset. Note that this user will be signed out from all devices.
Responses
- 200
- 400
- 401
- 403
- 404
- 429
User Sessions Reset
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Default value: 400
HTTP status code.
Default value: invalidParameters
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 400,
"code": "invalidParameters",
"message": "string",
"type": "error"
}
Invalid authentication credentials
- application/json
- Schema
- Example (from schema)
Schema
Default value: 401
HTTP status code.
Default value: tokenNotProvided
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 401,
"code": "tokenNotProvided",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 403
HTTP status code.
Default value: forbiddenAccess
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 403,
"code": "forbiddenAccess",
"message": "string",
"type": "error"
}
Invalid access
- application/json
- Schema
- Example (from schema)
Schema
Default value: 404
HTTP status code.
Default value: notFound
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 404,
"code": "notFound",
"message": "string",
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Default value: 429
HTTP status code.
Default value: tooManyRequests
Description of the status code.
Explanation for the error
Default value: error
Type of the object returned.
{
"status": 429,
"code": "tooManyRequests",
"message": "string",
"type": "error"
}