Delete a match chat message
Deletes a chat message and its reactions, also from Discord. A deleted message stays as a placeholder. Deleting it again changes nothing.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
matchId | stringRequired | path | - |
messageId | stringRequired | path | - |
x-request-id | string | header | - |
strave-installation-id | string | header | - |
if-match | stringRequired | header | - |
Request #
curl --request DELETE 'https://strave.gg/api/v2/matches/MATCH_ID/chat/messages/MESSAGE_ID' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
200Response for status 200400Response for status 400401Response for status 401403Response for status 403404Response for status 404409Response for status 409412Response for status 412428Response for status 428429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└id | stringRequired | - |
└matchId | stringRequired | - |
└actor | object | object | object | objectRequired | - |
└type | stringRequired | - |
└content | string | nullRequired | - |
└replyToId | string | nullRequired | - |
└senderSide | string | nullRequired | - |
└visibility | string | stringRequired | - |
└reactions | object[]Required | - |
└emoji | stringRequired | - |
└count | integerRequired | - |
└reactedByApplication | booleanRequired | - |
└deleted | booleanRequired | - |
└createdAt | stringRequired | - |
└updatedAt | stringRequired | - |
└revision | integerRequired | - |
Cost #
1 API unit