cURL
curl --request POST \ --url https://api.hyra.io/players/bans/{workspaceId}/{banId}/comments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "body": "<string>" }'
[ { "_id": "<string>", "ban": "<string>", "body": "<string>", "files": [ "<string>" ], "videos": [ "<string>" ], "workspace": "<string>", "author": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" } ]
Create a comment
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
The response is of type object[].
object[]