openapi: 3.0.1 info: title: Agent Admin MessageSuppression API description: 'This document refers to Symphony API calls to send and receive messages and content. They need the on-premise Agent installed to perform decryption/encryption of content. - sessionToken and keyManagerToken can be obtained by calling the authenticationAPI on the symphony back end and the key manager respectively. Refer to the methods described in authenticatorAPI.yaml. - Actions are defined to be atomic, ie will succeed in their entirety or fail and have changed nothing. - If it returns a 40X status then it will have sent no message to any stream even if a request to some subset of the requested streams would have succeeded. - If this contract cannot be met for any reason then this is an error and the response code will be 50X. - MessageML is a markup language for messages. See reference here: https://rest-api.symphony.com/docs/messagemlv2 - **Real Time Events**: The following events are returned when reading from a real time messages and events stream ("datafeed"). These events will be returned for datafeeds created with the v5 endpoints. To know more about the endpoints, refer to Create Messages/Events Stream and Read Messages/Events Stream. Unless otherwise specified, all events were added in 1.46. ' version: 25.8.1 servers: - url: youragentURL.symphony.com/agent tags: - name: MessageSuppression paths: /v1/admin/messagesuppression/{id}/suppress: post: summary: Suppress a message consumes: - application/json produces: - application/json parameters: - name: id description: URL-Safe encoded Message ID in: path required: true type: string - name: sessionToken description: Session authentication token. in: header required: true type: string tags: - MessageSuppression responses: '200': description: Success schema: $ref: '#/definitions/MessageSuppressionResponse' '400': description: Client error, see response body for further details. schema: $ref: '#/definitions/Error' examples: application/json: code: 400 message: // Client error, see response body for further details. '401': description: 'Unauthorized: Invalid session token.' schema: $ref: '#/definitions/Error' examples: application/json: code: 401 message: Invalid session '403': description: 'Forbidden: Caller lacks necessary entitlement.' schema: $ref: '#/definitions/Error' examples: application/json: code: 403 message: The user lacks the required entitlement to perform this operation '500': description: Server error, see response body for further details. schema: $ref: '#/definitions/Error' examples: application/json: code: 500 message: // Server error, see response body for further details. definitions: MessageSuppressionResponse: description: The suppression state of a message type: object properties: messageId: type: string example: _Gj13MiR-5IrVtrmPNl6fn___qvWCYI_dA suppressed: type: boolean example: true suppressionDate: type: integer format: int64 description: The date when this message was suppressed. example: 1461565603191 Error: type: object properties: code: type: integer format: int32 example: 401 message: type: string example: Invalid session