removeUserFromGroup
Remove user from group
Details
- Method:
DELETE - Path:
/rest/api/3/group/user - Operation ID:
removeUserFromGroup
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"
}
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('removeUserFromGroup', {
# Add required parameters here
})