deleteAvatarCatching

suspend fun deleteAvatarCatching(avatarId: String, oauthToken: String): GravatarResult<Unit, ErrorType>

Deletes the avatar with the given ID. This method will catch any exception that occurs during the execution and return it as a GravatarResult.Failure.

Return

The result of the operation

Parameters

avatarId

The ID of the avatar to delete

oauthToken

The OAuth token to use for authentication