DELETE {who}/Messages/{messageId}

Performs a delete of the identified message if possible. If the user has access to the system resource 'rolleadministrator', this action will permanently delete any correspondences or achived elements for organizations. In all other use cases, this action will perform a soft delete of any correspondences or archived elements for organizations. Additionally selected elements might be protected in a way that prevents deletion.

Request Information

Parameters

NameDescriptionAdditional information
who The owner of the message to be deleted. Valid values are "my", or an organization number of an organization the user can represent, or <Reportee.ReporteeId>, where the identified reportee may be a person or organization.

Define this parameter in the request URI.

messageId The id of the message to be deleted.

Define this parameter in the request URI.