Approve a request
POSThttps://api.put.io/v2/friends/{username}/approve
Files each of you shares with everyone are shared with the new friend.
Path
usernamestringRequired
Returns
200
statusstring
Errors
JSON with error_type, error_message, error_id and extra.
400CANNOT_FRIEND_WITH_SELF404USER_NOT_FOUND or FRIEND_REQUEST_NOT_FOUND. A plain 404 if the username has 4-byte characters.429Too many requests. Limits are per token and per IP. Wait until X-RateLimit-Reset, then retry.