getUserEmailBulk
Get user email bulk
Details
- Method:
GET - Path:
/rest/api/3/user/email/bulk - Operation ID:
getUserEmailBulk
Parameters
{
"accountId": {
"description": "The account IDs of the users for which emails are required. An `accountId` is an identifier that uniquely identifies the user across all Atlassian products. For example, `5b10ac8d82e05b22cc7d4ef5`. Note, this should be treated as an opaque identifier (that is, do not assume any structure in the value).",
"required": true,
"location": "query",
"type": "array"
}
}Response Schema
{
"additionalProperties": true,
"properties": {
"accountId": {
"description": "The accountId of the user",
"type": "string"
},
"email": {
"description": "The email of the user",
"type": "string"
}
},
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getUserEmailBulk', {
# Add required parameters here
})