---
updatedAt: 2026-05-29T17:03:39.000Z
---

# Remove users from a mural

Removes members and/or guests from a specified mural that the authenticated user has write access to.

**Authorization scope**: `murals:write`


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "MURAL Public API",
    "description": "MURAL's Public API\n",
    "termsOfService": "https://start.mural.co/developer-beta/terms",
    "contact": {
      "name": "MURAL",
      "email": "m4d@mural.co"
    },
    "version": "1.0.0",
    "x-logo": {
      "url": "https://app.mural.co/static/images/new-logo.svg",
      "href": "https://mural.co"
    }
  },
  "servers": [
    {
      "url": "https://app.mural.co/api/public/{version}",
      "description": "MURAL Public API",
      "variables": {
        "version": {
          "default": "v1",
          "enum": [
            "v1"
          ]
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Users"
    }
  ],
  "paths": {
    "/murals/{muralId}/users/remove": {
      "post": {
        "security": [
          {
            "oauth2": [
              "murals:write"
            ]
          }
        ],
        "tags": [
          "Users"
        ],
        "summary": "Remove users from a mural",
        "description": "Removes members and/or guests from a specified mural that the authenticated user has write access to.\n\n**Authorization scope**: `murals:write`\n",
        "operationId": "removeMuralUsers",
        "parameters": [
          {
            "$ref": "#/components/parameters/muralId"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveUsers"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveUsersResponse"
                },
                "example": {
                  "value": [
                    {
                      "email": "success@mural.co"
                    },
                    {
                      "email": "brokenemail@test.com",
                      "rejected": true,
                      "reason": "INVALID_EMAIL"
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/EmailsLimitExceededBadRequest"
                    },
                    {
                      "$ref": "#/components/schemas/UsersEmailsBadRequest"
                    }
                  ]
                },
                "examples": {
                  "Too many emails in request": {
                    "value": {
                      "code": "EMAILS_LIMIT_EXCEEDED",
                      "message": "Too many users' emails to remove in this request."
                    }
                  },
                  "Invalid payload": {
                    "value": {
                      "code": "BODY",
                      "message": "Invalid payload.",
                      "details": {
                        "code": "Invalid property",
                        "message": "Invalid \"emails\" property type was sent. Type array was expected."
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "The mural was not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MuralNotFound"
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://app.mural.co/api/public/v1/authorization/oauth2",
            "tokenUrl": "https://app.mural.co/api/public/v1/authorization/oauth2/token",
            "refreshUrl": "https://app.mural.co/api/public/v1/authorization/oauth2/token",
            "scopes": {
              "rooms:read": "Read information about rooms (for room members and owners).",
              "rooms:write": "Write information about rooms (for room owners).",
              "users:read": "Read information about users (guests, members, and visitors).",
              "workspaces:write": "Write information about workspaces (for workspace owners)",
              "workspaces:read": "Read information about workspaces (for workspace members and owners).",
              "murals:read": "Read information about murals (for mural members and owners).",
              "murals:write": "Write information about murals (for mural members and owners).",
              "meeting-consents:read": "Read who was asked for consent to record a meeting, and how each of them answered (for attendees of that meeting).",
              "meeting-consents:write": "Register meetings for recording, ask their attendees for consent, and answer on the authenticated user's own behalf.",
              "identity:read": "Read information about currently authenticated user.",
              "templates:read": "Read information about templates.",
              "templates:write": "Write information about templates (for templates owners)"
            }
          }
        }
      }
    },
    "schemas": {
      "BaseError": {
        "description": "Thorough details regarding an error response from the API.",
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "description": "Error code",
            "example": "ERROR",
            "type": "string",
            "maxLength": 36
          },
          "message": {
            "description": "Short, human readable, description of the error.",
            "example": "Unknown server error",
            "type": "string"
          }
        }
      },
      "DetailedError": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseError"
          },
          {
            "type": "object",
            "properties": {
              "details": {
                "description": "Error details.",
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "code",
                    "message"
                  ],
                  "properties": {
                    "code": {
                      "description": "Error code",
                      "example": "SUB_ERROR",
                      "type": "string",
                      "maxLength": 36
                    },
                    "message": {
                      "description": "Short, human readable, description of the error.",
                      "example": "Unknown server error",
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "MuralNotFound": {
        "description": "The requested mural was not found.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseError"
          },
          {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "example": "MURAL_NOT_FOUND",
                "enum": [
                  "MURAL_NOT_FOUND"
                ]
              },
              "message": {
                "example": "The mural was not found or does not exist."
              }
            }
          }
        ]
      },
      "RemoveUsers": {
        "type": "object",
        "properties": {
          "emails": {
            "type": "array",
            "description": "The array of users' emails to be removed.",
            "items": {
              "type": "string",
              "example": "useremailtoremove@mural.co"
            }
          }
        }
      },
      "RemoveUsersResult": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "description": "User's email."
          },
          "rejected": {
            "type": "boolean",
            "description": "If true, the email deletion process was rejected; if false, the email deletion process was successful."
          },
          "reason": {
            "type": "string",
            "description": "Reason for the rejection."
          }
        },
        "required": [
          "email"
        ]
      },
      "RemoveUsersResponse": {
        "type": "object",
        "properties": {
          "value": {
            "description": "Array of resolved/rejected emails",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RemoveUsersResult"
            }
          }
        }
      },
      "EmailsLimitExceededBadRequest": {
        "description": "The operation cannot be performed.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseError"
          },
          {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "example": "EMAILS_LIMIT_EXCEEDED"
              },
              "message": {
                "type": "string",
                "example": "Too many users' emails to remove in this request."
              }
            }
          }
        ]
      },
      "UsersEmailsBadRequest": {
        "description": "The body payload for users' emails was malformed or has invalid parameters.",
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseError"
          },
          {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "description": "Body payload for users' emails was invalid.",
                "example": "BODY",
                "enum": [
                  "BODY"
                ]
              },
              "message": {
                "type": "string",
                "description": "User-friendly error message.",
                "example": "Invalid payload."
              },
              "details": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "Invalid property"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid \"emails\" property type was sent. Type array was expected."
                    }
                  }
                }
              }
            }
          }
        ]
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "No authorization",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/BaseError"
                },
                {
                  "type": "object",
                  "properties": {
                    "code": {
                      "enum": [
                        "UNAUTHORIZED",
                        "TOKEN_EXPIRED"
                      ]
                    }
                  }
                }
              ]
            },
            "examples": {
              "authorization": {
                "summary": "No authorization",
                "value": {
                  "code": "UNAUTHORIZED",
                  "message": "You don't have the required permissions to access this endpoint."
                }
              },
              "expiredToken": {
                "summary": "Expired token",
                "value": {
                  "code": "TOKEN_EXPIRED",
                  "message": "Your token has expired. You need to refresh your OAuth token."
                }
              }
            }
          }
        }
      },
      "Forbidden": {
        "description": "Access denied",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BaseError"
            },
            "examples": {
              "invalidScope": {
                "$ref": "#/components/examples/invalidScope"
              }
            }
          }
        }
      },
      "ServerError": {
        "description": "API error",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/DetailedError"
                },
                {
                  "type": "object",
                  "properties": {
                    "code": {
                      "enum": [
                        "INTERNAL_SERVER_ERROR"
                      ],
                      "example": "INTERNAL_SERVER_ERROR"
                    },
                    "message": {
                      "example": "An unexpected condition was encountered that prevented us from fulfilling the request. Try it again later, please."
                    }
                  }
                }
              ]
            }
          }
        }
      }
    },
    "examples": {
      "invalidScope": {
        "summary": "Invalid scope",
        "value": {
          "code": "INVALID_SCOPE",
          "message": "Logged in user does not have the right scope(s) to access this resource."
        }
      }
    },
    "parameters": {
      "muralId": {
        "in": "path",
        "name": "muralId",
        "schema": {
          "type": "string"
        },
        "required": true,
        "description": "Unique identifier of a mural.\n",
        "example": "workspace1234.1606743986126"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```