Open Context Protocol is live! 🚀 Read the launch post

removeUserFromGroup

Remove user from group

DELETE /rest/api/3/group/user HTTP/1.1

Parameters

{
  "groupname": {
    "description": "As a group's name can change, use of `groupId` is recommended to identify a group.  \nThe name of the group. This parameter cannot be used with the `groupId` parameter.",
    "required": false,
    "location": "query",
    "type": "string"
  },
  "groupId": {
    "description": "The ID of the group. This parameter cannot be used with the `groupName` parameter.",
    "required": false,
    "location": "query",
    "type": "string"
  },
  "username": {
    "description": "This parameter is no longer available. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.",
    "required": false,
    "location": "query",
    "type": "string"
  },
  "accountId": {
    "description": "The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.",
    "required": true,
    "location": "query",
    "type": "string"
  }
}