Download OpenAPI specification:Download
The email-service is used to configure and manage users' email-addresses.
Returns all configured alarm-notification email addresses of an user
owner_id required | integer ID of an user |
organization_id | integer requesting organization, not required if user accesses his own resources |
[- {
- "active": true,
- "email": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
]
Creates an email configuration
organization_id | integer requesting organization, not required if user accesses his own resources |
email configuration payload
active | boolean defines, if this email is active for alarm notifications |
string email address | |
id | integer <int64> id of this email |
name | string user defined name for this address (e.g. private) |
ownerID | integer <int64> assinged user id for this email |
{- "active": true,
- "email": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
{- "active": true,
- "email": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
Creates an email configuration
emailID required | integer ID of an email configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
{- "active": true,
- "email": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
Updates an email configuration
emailID required | integer ID of an email configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
email configuration payload
active | boolean defines, if this email is active for alarm notifications |
string email address | |
id | integer <int64> id of this email |
name | string user defined name for this address (e.g. private) |
ownerID | integer <int64> assinged user id for this email |
{- "active": true,
- "email": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
{- "active": true,
- "email": "string",
- "id": 0,
- "name": "string",
- "ownerID": 0
}
Deletes an email configuration
emailID required | integer ID of an email configuration |
organization_id | integer requesting organization, not required if user accesses his own resources |
{- "status": "deleted"
}
Returns whether the given organization has disabled this way of alarming or not
organization_id required | integer requesting organization |
[- {
- "isDisabled": true
}
]
Sets whether the given organization has this way of alarming disabled or not
organization_id required | integer requesting organization |
isDisabled payload
isDisabled | boolean |
{- "isDisabled": true
}
Check if any email is active for the passed owner id in the passed organization id and get the permissions of the user and the organization
user_id required | integer id of the user |
organization_id required | integer id of the organization |
{- "activeCount": 0,
- "anyActive": true,
- "organizationPermission": true,
- "userPermission": true
}
Creates or updates the email settings for the passed organization
organizationID required | integer |
backgroundColor | string |
footerText | string |
{- "backgroundColor": "string",
- "footerText": "string"
}
Returns true if there is an active permission for the passed organization or specifically for the passed user in an organization.
organization_id required | integer ID of an organization |
user_id | integer optional ID of a user in this organization |
restriction configuration with user and organization id
organizationID | integer <int64> |
userID | integer <int64> |
{- "organizationID": 0,
- "userID": 0
}