Endpoint
Authentication
This endpoint requires authentication.Path Parameters
The username of the user to block
Request Body
The username of the account initiating the block action
Request Example
Response
Returns
204 No Content on successful blockBlockedAccount Object
The block action creates a BlockedAccount record with a composite key:The user ID of the account initiating the block
The user ID of the blocked account
Error Responses
"This account does not exist"- The initiating account was not found"This user does not exist"- The target username was not found
Returned when attempting to block yourself
"Account already blocked this user" - The user is already blocked