Open Context Protocol is live! 🚀 Read the launch post
updateProjectEmail

updateProjectEmail

Set project’s sender email

Details

  • Method: PUT
  • Path: /rest/api/3/project/{projectId}/email
  • Operation ID: updateProjectEmail

Parameters

{
  "projectId": {
    "description": "The project ID.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  },
  "emailAddress": {
    "description": "The email address.",
    "required": false,
    "location": "body",
    "type": "string"
  },
  "emailAddressStatus": {
    "description": "When using a custom domain, the status of the email address.",
    "required": false,
    "location": "body",
    "type": "array"
  }
}

Response Schema

{}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('updateProjectEmail', {
    # Add required parameters here
})